Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/diff-orderfile-config'
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index 6f6210988709dc866bf79a5bb5523356773b93a0..7db43dae1be95e86c21249d9150fc8553c367527 100644
(file)
--- a/
builtin/describe.c
+++ b/
builtin/describe.c
@@
-141,7
+141,7
@@
static void add_to_known_names(const char *path,
static int get_name(const char *path, const unsigned char *sha1, int flag, void *cb_data)
{
- int is_tag =
!prefixcmp
(path, "refs/tags/");
+ int is_tag =
starts_with
(path, "refs/tags/");
unsigned char peeled[20];
int is_annotated, prio;