Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-10-15 03:02:01 +0300
committerJunio C Hamano <gitster@pobox.com>2018-10-15 06:53:16 +0300
commitdda634687717fd8aafd54cae9ae3d9b2902e276e (patch)
treeebb44e35fd307d70f8098f5acde92a039daf0ec4 /rerere.c
parenteccb5a5f3d8d49ec9b4645aac94bffb7e504f10f (diff)
submodule: make zero-oid comparison hash function agnostic
With SHA-256, the length of the all-zeros object ID is longer. Add a function to git-submodule.sh to check if a full hex object ID is the all-zeros value, and use it to check the output we're parsing from git diff-files or diff-index. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rerere.c')
0 files changed, 0 insertions, 0 deletions