diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-02-19 03:05:08 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-01 05:57:38 +0300 |
commit | fbfc089d913772f96f9562a3dbddaed28809fe72 (patch) | |
tree | 688d0a9dd064f81d7a7d3074b4e5b9d99c6e78e9 /http-push.c | |
parent | 24dd363ed586f5edbdea96689d4e0e40a7d3f7fa (diff) |
builtin/pull: make hash-size independent
Instead of using get_oid_hex and GIT_SHA1_HEXSZ, use parse_oid_hex to
avoid the need for a constant and simplify the code.
Additionally, fix some comments to refer to object IDs instead of SHA-1
and update a constant used to provide an allocation hint.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-push.c')
0 files changed, 0 insertions, 0 deletions