Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: don't escape tilde ('~') for http(s) URLs
[gitweb.git]
/
builtin-tag.c
diff --git
a/builtin-tag.c
b/builtin-tag.c
index 1ff7b37162185a70de5183dd55819f6b11fa6688..84db156e63681de6322019b9b9ffa15371c443b1 100644
(file)
--- a/
builtin-tag.c
+++ b/
builtin-tag.c
@@
-283,7
+283,7
@@
static void create_tag(const unsigned char *object, const char *tag,
int fd;
/* write the template message before editing: */
- path =
xstrdup(git_path("TAG_EDITMSG")
);
+ path =
git_pathdup("TAG_EDITMSG"
);
fd = open(path, O_CREAT | O_TRUNC | O_WRONLY, 0600);
if (fd < 0)
die("could not create file '%s': %s",