Consolidate ignore_packed logic more
[gitweb.git] / builtin-remote.c
index 584280fbf5bbbd485a1388adb15104a1ad1cf19c..5af4e643eb9dceccc62a5ce44069e0164bc12311 100644 (file)
@@ -323,7 +323,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);