]> git.ipfire.org Git - thirdparty/git.git/commit - replace-object.c
Convert lookup_replace_object to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 12 Mar 2018 02:27:54 +0000 (02:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2018 16:23:50 +0000 (09:23 -0700)
commitb383a13cc0dbed752b69d7ad249bc857b9d3607b
treeab9434ad4444be32900ba7fa76211124a9f4a4cd
parentb4f5aca40e6f77cbabcbf4ff003c3cf30a1830c8
Convert lookup_replace_object to struct object_id

Convert both the argument and the return value to be pointers to struct
object_id.  Update the callers and their internals to deal with the new
type.  Remove several temporaries which are no longer needed.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/mktag.c
cache.h
object.c
replace_object.c
sha1_file.c
streaming.c