summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-02-21 23:47:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-02-22 18:12:15 (GMT)
commit43bc3b6ceeb4cf3ed13741ffe02ed432e743fba5 (patch)
treed493990872d05714404ac127a10ca63d2cca6d37 /upload-pack.c
parent9461d27240c158cf781ce706a077663050179b14 (diff)
downloadgit-43bc3b6ceeb4cf3ed13741ffe02ed432e743fba5.zip
git-43bc3b6ceeb4cf3ed13741ffe02ed432e743fba5.tar.gz
git-43bc3b6ceeb4cf3ed13741ffe02ed432e743fba5.tar.bz2
refs: simplify parsing of reflog entries
The current code for reflog entries uses a lot of hard-coded constants, making it hard to read and modify. Use parse_oid_hex and two temporary variables to simplify the code and reduce the use of magic constants. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions