Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pull: handle git-fetch's options as well
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index 5cb4ac4ccc319970d677cf470cdc889933fc5332..640eae1bbe7e3837bd06b8b5675299f29f7e6021 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-78,7
+78,7
@@
static int write_one_shallow(const struct commit_graft *graft, void *cb_data)
{
FILE *fp = cb_data;
if (graft->nr_parent == -1)
- fprintf(fp, "--shallow %s\n",
sha1_to_hex(graft->sha1
));
+ fprintf(fp, "--shallow %s\n",
oid_to_hex(&graft->oid
));
return 0;
}