aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-08-18 19:16:36 +0000
committerJunio C Hamano <gitster@pobox.com>2019-08-20 11:09:21 -0700
commite3e9d02e35c2d29e9249c99e0efc6213cfaf1557 (patch)
treef36aa35e3210953baf14ff0aad8e06fd913da3b2 /commit.c
parentt3301: abstract away SHA-1-specific constants (diff)
downloadgit-e3e9d02e35c2d29e9249c99e0efc6213cfaf1557.tar.gz
git-e3e9d02e35c2d29e9249c99e0efc6213cfaf1557.zip
t3305: make hash size independent
Instead of hard-coding 40-character shell patterns, use grep to determine if all of the paths have either zero or one levels of fanout, as appropriate. Note that the final test is implicitly dependent on the hash algorithm. Depending on the algorithm in use, the fanout may or may not completely compress. In its current state, this is not a problem, but it could be if the hash algorithm changes again. 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