diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-02 00:25:39 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 13:59:50 +0900 |
| commit | e84bc23cb69209c771abd4fe098773340a850c48 (patch) | |
| tree | 42179f58f8a40a9bf7247fba4c740944971d6bf3 /commit.c | |
| parent | pack-redundant: abstract away hash algorithm (diff) | |
| download | git-e84bc23cb69209c771abd4fe098773340a850c48.tar.gz git-e84bc23cb69209c771abd4fe098773340a850c48.zip | |
tree-walk: avoid hard-coded 20 constant
Use the_hash_algo to look up the length of our current hash instead of
hard-coding the value 20.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
