Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Makefile: fix shell quoting
[gitweb.git]
/
builtin-describe.c
diff --git
a/builtin-describe.c
b/builtin-describe.c
index 3da99c1d06f1eeb85e760036dc881282558603d6..e515f9ca9b5d0ec13e96a7866e27bdd9e852b435 100644
(file)
--- a/
builtin-describe.c
+++ b/
builtin-describe.c
@@
-204,7
+204,7
@@
static void describe(const char *arg, int last_one)
*/
display_name(n);
if (longformat)
- show_suffix(0, n->tag
->tagged->
sha1);
+ show_suffix(0, n->tag
? n->tag->tagged->sha1 :
sha1);
printf("\n");
return;
}