Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rd/man-reflog-add-n'
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index 979556d9fb08720d509cb2d3cdbb6d5aeda3351c..e14e162ef6ef829072f01f89ab2c797256a6861d 100644
(file)
--- a/
builtin/describe.c
+++ b/
builtin/describe.c
@@
-181,7
+181,7
@@
static int get_name(const char *path, const struct object_id *oid, int flag, voi
}
/* Is it annotated? */
- if (!peel_ref(path,
peeled.hash
)) {
+ if (!peel_ref(path,
&peeled
)) {
is_annotated = !!oidcmp(oid, &peeled);
} else {
oidcpy(&peeled, oid);