From: Junio C Hamano Date: Sat, 04 Nov 2006 12:03:38 GMT Subject: Re: git bug? + question Message-ID: <7vk62bxvtx.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <200611031815.49553.Josef.Weidendorfer@gmx.de> Josef Weidendorfer writes: > On Friday 03 November 2006 10:46, Karl Hasselström wrote: >> Hmm. How about changing the meaning of "remote" slightly? Like this: > > That's not good, as it changes existing config meaning. >... > Other option: Introduce "fetchonly" line which ignores the original > fetch lines in the remote section. > > [remote."gitster"] > url = gitster.example.com:/home/junio/git.git/ > fetch = heads/master:remotes/gitster/master > fetch = heads/next:remotes/gitster/next > [branch."master"] > remote = gitster > fetchonly = heads/master:remotes/gitster/master > merge = remotes/gitster/master That is a regression in that now I need to fetch twice (in the above example, in reality four).