X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-remote.c;h=93bb84e1d4c762c6c049276202ebc2320447e9c8;hb=6c41e21d48c369f398ee2e24085e618b55ed916d;hp=a3ee1ac3937b179799fbaa048927c4c8a9963cc9;hpb=4581f4020a5acb4a7a238891d9a00e06461715f0;p=git.git diff --git a/builtin-remote.c b/builtin-remote.c index a3ee1ac39..93bb84e1d 100644 --- 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);