remote: create fetch config lines with '+'
authorJeff King <peff@peff.net>
Tue, 22 Apr 2008 11:11:13 +0000 (07:11 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Apr 2008 05:30:31 +0000 (22:30 -0700)
Since git-remote always uses remote tracking branches, it
should be safe to always force updates of those branches.
I.e., we should generate

fetch = +refs/heads/*:refs/remotes/$remote/*

instead of

fetch = refs/heads/*:refs/remotes/$remote/*

This was the behavior of the perl version, which seems to
have been lost in the C rewrite.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found