]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
Add several uses of get_object_hash.
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 10 Nov 2015 02:22:27 +0000 (02:22 +0000)
committerJeff King <peff@peff.net>
Fri, 20 Nov 2015 13:02:05 +0000 (08:02 -0500)
commit7999b2cf772956466baa8925491d6fb1b0963292
tree34a3bf75c3cdc621d732107f53181ff28c0550a4
parent3c4270107fec2c1d85b7b1a6f8b0aeebf3193b28
Add several uses of get_object_hash.

Convert most instances where the sha1 member of struct object is
dereferenced to use get_object_hash.  Most instances that are passed to
functions that have versions taking struct object_id, such as
get_sha1_hex/get_oid_hex, or instances that can be trivially converted
to use struct object_id instead, are not converted.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Jeff King <peff@peff.net>
61 files changed:
archive.c
bisect.c
branch.c
builtin/blame.c
builtin/branch.c
builtin/checkout.c
builtin/clone.c
builtin/commit.c
builtin/describe.c
builtin/diff-tree.c
builtin/diff.c
builtin/fast-export.c
builtin/fetch.c
builtin/fmt-merge-msg.c
builtin/fsck.c
builtin/grep.c
builtin/index-pack.c
builtin/log.c
builtin/merge-tree.c
builtin/merge.c
builtin/name-rev.c
builtin/notes.c
builtin/pack-objects.c
builtin/reflog.c
builtin/reset.c
builtin/rev-list.c
builtin/rev-parse.c
builtin/show-branch.c
builtin/unpack-objects.c
bundle.c
cache-tree.c
combine-diff.c
commit.c
decorate.c
diff-lib.c
fetch-pack.c
fsck.c
http-push.c
line-log.c
log-tree.c
merge-blobs.c
merge-recursive.c
notes-merge.c
object.c
pack-bitmap-write.c
pack-bitmap.c
patch-ids.c
pretty.c
ref-filter.c
refs.c
revision.c
sequencer.c
sha1_name.c
shallow.c
submodule.c
tag.c
test-match-trees.c
tree.c
upload-pack.c
walker.c
wt-status.c