From: Nguyen Thai Ngoc Duy Date: Thu, 03 Feb 2011 05:33:48 GMT Subject: Re: [1.8.0] Provide proper remote ref namespaces Message-ID: In-Reply-To: <201102020322.00171.johan@herland.net> On Wed, Feb 2, 2011 at 9:21 AM, Johan Herland wrote: > Migration plan: > ... > In v1.8.0, we should default to the new default refspecs when creating new > remotes. However, existing remotes (created pre-v1.8.0) must continue to > work as before, so we cannot simply remove the implicit refspecs (or tag > auto-following). Instead we need to make sure that the implicit refspecs is > NOT applied to the new-style remotes. Identifying new-style vs. old-style > remotes can be done by looking at the refspec itself (old-style: > "refs/remotes/$remote/*", new-style: "refs/remotes/$remote/heads/*"), or > (worst case) by introducing a config variable specifying the desired > behavior (defaulting to old-style). How about convert old style remotes to new style? Should it be done automatically when new git detects old style remotes, or done by command, or manually? -- Duy