Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
strbuf: remove prefixcmp() and suffixcmp()
[gitweb.git]
/
builtin
/
fast-export.c
diff --git
a/builtin/fast-export.c
b/builtin/fast-export.c
index 78250eab08abf692344277e01cb94fc5f5c2f807..ea55a245965bc8ad0e8e6d2241c7d8535d3b49a7 100644
(file)
--- a/
builtin/fast-export.c
+++ b/
builtin/fast-export.c
@@
-476,7
+476,7
@@
static void handle_tag(const char *name, struct tag *tag)
}
}
- if (
!prefixcmp
(name, "refs/tags/"))
+ if (
starts_with
(name, "refs/tags/"))
name += 10;
printf("tag %s\nfrom :%d\n%.*s%sdata %d\n%.*s\n",
name, tagged_mark,