diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-10-11 07:24:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-11 07:24:46 +0200 |
commit | 676278f8ea1b9bdd8f235eceb739d7aec4f0ed67 (patch) | |
tree | 1fffd7eb97b1f32a45e89d49ab3f9613265016d1 /sha1-file.c | |
parent | Merge branch 'en/clean-nested-with-ignored' (diff) | |
parent | midx: switch to using the_hash_algo (diff) | |
download | git-676278f8ea1b9bdd8f235eceb739d7aec4f0ed67.tar.xz git-676278f8ea1b9bdd8f235eceb739d7aec4f0ed67.zip |
Merge branch 'bc/object-id-part17'
Preparation for SHA-256 upgrade continues.
* bc/object-id-part17: (26 commits)
midx: switch to using the_hash_algo
builtin/show-index: replace sha1_to_hex
rerere: replace sha1_to_hex
builtin/receive-pack: replace sha1_to_hex
builtin/index-pack: replace sha1_to_hex
packfile: replace sha1_to_hex
wt-status: convert struct wt_status to object_id
cache: remove null_sha1
builtin/worktree: switch null_sha1 to null_oid
builtin/repack: write object IDs of the proper length
pack-write: use hash_to_hex when writing checksums
sequencer: convert to use the_hash_algo
bisect: switch to using the_hash_algo
sha1-lookup: switch hard-coded constants to the_hash_algo
config: use the_hash_algo in abbrev comparison
combine-diff: replace GIT_SHA1_HEXSZ with the_hash_algo
bundle: switch to use the_hash_algo
connected: switch GIT_SHA1_HEXSZ to the_hash_algo
show-index: switch hard-coded constants to the_hash_algo
blame: remove needless comparison with GIT_SHA1_HEXSZ
...
Diffstat (limited to 'sha1-file.c')
-rw-r--r-- | sha1-file.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sha1-file.c b/sha1-file.c index e85f249a5d..188de57634 100644 --- a/sha1-file.c +++ b/sha1-file.c @@ -55,7 +55,6 @@ "\x6f\xe1\x41\xf7\x74\x91\x20\xa3\x03\x72" \ "\x18\x13" -const unsigned char null_sha1[GIT_MAX_RAWSZ]; const struct object_id null_oid; static const struct object_id empty_tree_oid = { EMPTY_TREE_SHA1_BIN_LITERAL |