Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
wincred: avoid overwriting configured variables
[gitweb.git]
/
builtin
/
fast-export.c
diff --git
a/builtin/fast-export.c
b/builtin/fast-export.c
index ea6305258d4d63e58f2453736cfc5aa38ec37282..b8d8a3aaf9ee8294be9a78956a70b476d327ee05 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,