]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-remote.c
Git.pm: Make _temp_cache use the repository directory
[git.git] / builtin-remote.c
index e396a3ac9055aa91d0f808abb196fb6ea9a99a29..47deb0a8028760a7195d11b8212904e312a8998c 100644 (file)
@@ -320,7 +320,7 @@ static int add_branch_for_removal(const char *refname,
 
        /* make sure that symrefs are deleted */
        if (flags & REF_ISSYMREF)
-               return unlink(git_path(refname));
+               return unlink(git_path("%s", refname));
 
        item = string_list_append(refname, branches->branches);
        item->util = xmalloc(20);