From: Jeff King Date: Tue, 22 Apr 2008 11:11:13 +0000 (-0400) Subject: remote: create fetch config lines with '+' X-Git-Tag: v1.5.5.2~18 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1ce89cc4bb18b0e66f7073562d6634f6a9841335?hp=1ce89cc4bb18b0e66f7073562d6634f6a9841335 remote: create fetch config lines with '+' 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 Signed-off-by: Junio C Hamano ---