diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-02 00:25:36 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 13:59:50 +0900 |
commit | 37fec86a8353106dad000d498df8251ea3547855 (patch) | |
tree | 1608538dc4d11c54f2fc4a7bd04eefc968c36066 /http.h | |
parent | 544443cb3cca4d5e48dfd8bd3c704a7e52b89ee6 (diff) | |
download | git-37fec86a8353106dad000d498df8251ea3547855.tar.gz |
packfile: abstract away hash constant values
There are several instances of the constant 20 and 20-based values in
the packfile code. Abstract away dependence on SHA-1 by using the
values from the_hash_algo instead.
Use unsigned values for temporary constants to provide the compiler with
more information about what kinds of values it should expect.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
0 files changed, 0 insertions, 0 deletions