Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pull --rebase: exit early when the working directory is dirty
[gitweb.git]
/
builtin-remote.c
diff --git
a/builtin-remote.c
b/builtin-remote.c
index 9d4432bcd5c4104482eca65bf7d06b8b60b8c184..8b63619ef08a2ac3d96000908fe4986396ddd6a2 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);