diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-10-15 00:01:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-15 12:53:15 +0900 |
commit | fbd0e37cde633221d5b3ca239f26cb7d005da5c8 (patch) | |
tree | 41f0b583a5b8f2c4a3d4f90b47565ebfd3be5a9e /t/t3203-branch-output.sh | |
parent | upload-pack: express constants in terms of the_hash_algo (diff) | |
download | tgif-fbd0e37cde633221d5b3ca239f26cb7d005da5c8.tar.xz |
transport: use parse_oid_hex instead of a constant
Use parse_oid_hex to compute a pointer instead of using GIT_SHA1_HEXSZ.
This simplifies the code and makes it independent of the hash length.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3203-branch-output.sh')
0 files changed, 0 insertions, 0 deletions