Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin-am: auto-detect mbox patches
[gitweb.git]
/
send-pack.c
diff --git
a/send-pack.c
b/send-pack.c
index 2e07ac3339bce870b12e0023dc985929a277ebef..2a64fec949ea9495b5b9512399cec7979319de1c 100644
(file)
--- a/
send-pack.c
+++ b/
send-pack.c
@@
-182,7
+182,7
@@
static int advertise_shallow_grafts_cb(const struct commit_graft *graft, void *c
{
struct strbuf *sb = cb;
if (graft->nr_parent == -1)
- packet_buf_write(sb, "shallow %s\n",
sha1_to_hex(graft->sha1
));
+ packet_buf_write(sb, "shallow %s\n",
oid_to_hex(&graft->oid
));
return 0;
}