Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
format_config: don't init strbuf
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index aa845765009ac7fb9105851306c3288b3f602369..745fda8515313fa0629489f36aee0ba49fb7d822 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-74,7
+74,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;
}