diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-05-07 00:10:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 08:12:57 +0200 |
commit | 3aca1fc6c9c69fbfce0e6312fc8e3087cb6334a4 (patch) | |
tree | 659abe824d500138947540b5217d142cac1a75f0 /http-push.c | |
parent | Convert remaining callers of lookup_blob to object_id (diff) | |
download | git-3aca1fc6c9c69fbfce0e6312fc8e3087cb6334a4.tar.xz git-3aca1fc6c9c69fbfce0e6312fc8e3087cb6334a4.zip |
Convert lookup_blob to struct object_id
Convert lookup_blob to take a pointer to struct object_id.
The commit was created with manual changes to blob.c and blob.h, plus
the following semantic patch:
@@
expression E1;
@@
- lookup_blob(E1.hash)
+ lookup_blob(&E1)
@@
expression E1;
@@
- lookup_blob(E1->hash)
+ lookup_blob(E1)
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-push.c')
-rw-r--r-- | http-push.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c index 04568e4fbd..9bb5e06482 100644 --- a/http-push.c +++ b/http-push.c @@ -1315,7 +1315,7 @@ static struct object_list **process_tree(struct tree *tree, p = process_tree(lookup_tree(entry.oid->hash), p); break; case OBJ_BLOB: - p = process_blob(lookup_blob(entry.oid->hash), p); + p = process_blob(lookup_blob(entry.oid), p); break; default: /* Subproject commit - not in this repository */ |