]> git.ipfire.org Git - thirdparty/git.git/commit - sha1-array.h
Convert sha1_array_for_each_unique and for_each_abbrev to object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 31 Mar 2017 01:39:59 +0000 (01:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Mar 2017 15:33:55 +0000 (08:33 -0700)
commit1b7ba794d21836f72e5888db63ab790077c04e1b
tree7b320b3ab15ac6a85e499619bbfbad3d02c00e69
parent5d3206d5010423b3bbf479e32567d0fddc7095e0
Convert sha1_array_for_each_unique and for_each_abbrev to object_id

Make sha1_array_for_each_unique take a callback using struct object_id.
Since one of these callbacks is an argument to for_each_abbrev, convert
those as well.  Rename various functions, replacing "sha1" with "oid".

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c
builtin/receive-pack.c
builtin/rev-parse.c
cache.h
sha1-array.c
sha1-array.h
sha1_name.c
submodule.c
t/helper/test-sha1-array.c