diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-02-19 00:05:16 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-01 02:57:39 (GMT) |
commit | 9c9492e8aafdcc2ec464e9261b78619b05a835f8 (patch) | |
tree | e2013776c92dea1cc7a794a9d0b43e71a0bb7c23 /repository.h | |
parent | 05dfc7cac4a0e0dcd6c7b2f63009c03f96dba1c0 (diff) | |
download | git-9c9492e8aafdcc2ec464e9261b78619b05a835f8.zip git-9c9492e8aafdcc2ec464e9261b78619b05a835f8.tar.gz git-9c9492e8aafdcc2ec464e9261b78619b05a835f8.tar.bz2 |
remote-curl: make hash size independent
Change one hard-coded use of the constant 40 to a reference to
the_hash_algo. In addition, switch a use of get_oid_hex to
parse_oid_hex to avoid the need to use a constant.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repository.h')
0 files changed, 0 insertions, 0 deletions