X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-tag.c;h=843e9ac056c88bb2c9a8c6ded464096a99f13aff;hb=832e719d79296f1942a2aca5fb067bc610986fc4;hp=5b141c584680ecc2362fc0e036e01dbeefa4ee90;hpb=eca35a25a92a1ad725af2a549fc9158488c4cc43;p=git.git diff --git a/builtin-tag.c b/builtin-tag.c index 5b141c584..843e9ac05 100644 --- 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",