summaryrefslogtreecommitdiffstats
path: root/wildmatch.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-05-02 02:26:08 +0200
committerJunio C Hamano <gitster@pobox.com>2018-05-02 06:59:53 +0200
commit03a7f388dafaee0aa084144efe7a8f9c151e5221 (patch)
treee31007a046fd6f661af5df6d6d47cf747401823f /wildmatch.c
parentsha1_file: only expose empty object constants through git_hash_algo (diff)
downloadgit-03a7f388dafaee0aa084144efe7a8f9c151e5221.tar.xz
git-03a7f388dafaee0aa084144efe7a8f9c151e5221.zip
Update shell scripts to compute empty tree object ID
Several of our shell scripts hard-code the object ID of the empty tree. To avoid any problems when changing hashes, compute this value on startup of the script. For performance, store the value in a variable and reuse it throughout the life of the script. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wildmatch.c')
0 files changed, 0 insertions, 0 deletions