Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-diff: Add --staged as a synonym for --cached.
[gitweb.git]
/
builtin-remote.c
diff --git
a/builtin-remote.c
b/builtin-remote.c
index e396a3ac9055aa91d0f808abb196fb6ea9a99a29..47deb0a8028760a7195d11b8212904e312a8998c 100644
(file)
--- a/
builtin-remote.c
+++ b/
builtin-remote.c
@@
-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);