Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pathspec: small readability changes
[gitweb.git]
/
shallow.c
diff --git
a/shallow.c
b/shallow.c
index 2531e3af3b0d87e1f78fe09208cb85917ceff207..4d0b005d39c1c1ab2379911666d4df75d66b824c 100644
(file)
--- a/
shallow.c
+++ b/
shallow.c
@@
-338,7
+338,7
@@
static int advertise_shallow_grafts_cb(const struct commit_graft *graft, void *c
{
int fd = *(int *)cb;
if (graft->nr_parent == -1)
- packet_write(fd, "shallow %s\n", oid_to_hex(&graft->oid));
+ packet_write
_fmt
(fd, "shallow %s\n", oid_to_hex(&graft->oid));
return 0;
}