Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
shortlog: disallow left-over arguments outside repo
[gitweb.git]
/
builtin
/
show-ref.c
diff --git
a/builtin/show-ref.c
b/builtin/show-ref.c
index cbb8cfc7d261d4cd3c01ba41705f69da10128c42..41e5e71cad660d26ddc90ffeaa383fd7bf10f79f 100644
(file)
--- a/
builtin/show-ref.c
+++ b/
builtin/show-ref.c
@@
-38,7
+38,7
@@
static void show_one(const char *refname, const struct object_id *oid)
if (!deref_tags)
return;
- if (!peel_ref(refname,
peeled.hash
)) {
+ if (!peel_ref(refname,
&peeled
)) {
hex = find_unique_abbrev(peeled.hash, abbrev);
printf("%s %s^{}\n", hex, refname);
}