OSDN Git Service
(root)
/
git-core
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
diff: introduce DIFF_PICKAXE_KINDS_MASK
[git-core/git.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index
030eba5
..
6d5f3c0
100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-955,7
+955,7
@@
static int send_ref(const char *refname, const struct object_id *oid,
packet_write_fmt(1, "%s %s\n", oid_to_hex(oid), refname_nons);
}
capabilities = NULL;
- if (!peel_ref(refname,
peeled.hash
))
+ if (!peel_ref(refname,
&peeled
))
packet_write_fmt(1, "%s %s^{}\n", oid_to_hex(&peeled), refname_nons);
return 0;
}