Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
documentation: help: add "man.<tool>.path" config variable
[gitweb.git]
/
builtin-remote.c
diff --git
a/builtin-remote.c
b/builtin-remote.c
index a3ee1ac3937b179799fbaa048927c4c8a9963cc9..93bb84e1d4c762c6c049276202ebc2320447e9c8 100644
(file)
--- a/
builtin-remote.c
+++ b/
builtin-remote.c
@@
-107,6
+107,7
@@
static int add(int argc, const char **argv)
struct path_list_item *item = track.items + i;
strbuf_reset(&buf2);
+ strbuf_addch(&buf2, '+');
if (mirror)
strbuf_addf(&buf2, "refs/%s:refs/%s",
item->path, item->path);