git/builtin
brian m. carlson 740ee055c6 Convert lookup_tree to struct object_id
Convert the lookup_tree function to take a pointer to struct object_id.

The commit was created with manual changes to tree.c, tree.h, and
object.c, plus the following semantic patch:

@@
@@
- lookup_tree(EMPTY_TREE_SHA1_BIN)
+ lookup_tree(&empty_tree_oid)

@@
expression E1;
@@
- lookup_tree(E1.hash)
+ lookup_tree(&E1)

@@
expression E1;
@@
- lookup_tree(E1->hash)
+ lookup_tree(E1)

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-05-08 15:12:57 +09:00
..
2017-05-08 15:12:57 +09:00
2016-11-22 13:55:20 -08:00
2017-03-31 08:33:56 -07:00
2017-04-26 15:39:08 +09:00
2017-05-08 15:12:57 +09:00
2017-04-13 17:53:08 -07:00
2017-03-31 08:33:56 -07:00
2017-05-08 15:12:57 +09:00
2016-09-29 15:42:18 -07:00
2017-01-18 15:12:15 -08:00
2017-04-02 09:49:24 -07:00
2015-10-05 13:20:08 -07:00
2017-04-19 21:37:13 -07:00
2017-03-24 13:07:37 -07:00
2017-01-23 18:51:56 -08:00
2017-04-11 00:21:51 -07:00
2017-04-26 15:39:12 +09:00