Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'master' of git://github.com/git-l10n/git-po
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index 9fe11ed9de7b9e5c13187a630c45d8e44f50c851..04c185b1fbdc51ba9958fdb83d1c6616bcb0c18e 100644
(file)
--- a/
builtin/describe.c
+++ b/
builtin/describe.c
@@
-144,7
+144,7
@@
static int get_name(const char *path, const unsigned char *sha1, int flag, void
if (!all && !might_be_tag)
return 0;
- if (!peel_ref(path, peeled)
&& !is_null_sha1(peeled)
) {
+ if (!peel_ref(path, peeled)) {
is_tag = !!hashcmp(sha1, peeled);
} else {
hashcpy(peeled, sha1);