Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
worktree: convert struct worktree to object_id
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index 29075dbd0f884513420b646cdb06d7c0b3d33643..352f8821fd8b46906f6ffe349d666a641ac184e6 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);