Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
shallow: convert shallow registration functions to object_id
[gitweb.git]
/
builtin
/
receive-pack.c
diff --git
a/builtin/receive-pack.c
b/builtin/receive-pack.c
index f96834f42c9849746b64c20c84869232cbac7367..6f0f788b0cb9fd0174ce9572843e43e69e27a131 100644
(file)
--- a/
builtin/receive-pack.c
+++ b/
builtin/receive-pack.c
@@
-858,7
+858,7
@@
static int update_shallow_ref(struct command *cmd, struct shallow_info *si)
* not lose these new roots..
*/
for (i = 0; i < extra.nr; i++)
- register_shallow(
extra.oid[i].hash
);
+ register_shallow(
&extra.oid[i]
);
si->shallow_ref[cmd->index] = 0;
oid_array_clear(&extra);