Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-04-25 09:40:02 +0400
committerJunio C Hamano <gitster@pobox.com>2008-04-25 09:40:02 +0400
commit049a226fa14fb25c03d2146c2f8f184cfea5e5bf (patch)
treef67e46f678cc570a21852e17268afff0ae2120cc /builtin-remote.c
parent57cf5ca3058b4086744f59f1f520a15dfc040bbb (diff)
parent1ce89cc4bb18b0e66f7073562d6634f6a9841335 (diff)
Merge branch 'maint'
* maint: remote: create fetch config lines with '+' push: allow unqualified dest refspecs to DWIM doc/git-gc: add a note about what is collected t5516: remove ambiguity test (1) Linked glossary from cvs-migration page write-tree: properly detect failure to write tree objects
Diffstat (limited to 'builtin-remote.c')
-rw-r--r--builtin-remote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-remote.c b/builtin-remote.c
index a3ee1ac393..93bb84e1d4 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);