From: Junio C Hamano Date: Sun, 26 Nov 2006 09:15:58 GMT Subject: Re: [PATCH] Use new .git/config for storing "origin" shortcut repository Message-ID: <7vvel2va9d.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <200611260856.03057.andyparkins@gmail.com> Andy Parkins writes: > On Sunday 2006, November 26 00:48, Johannes Schindelin wrote: > >> This hunk is wrong: "git-repo-config remote.bla.fetch b" will _overwrite_ >> remoter.bla.fetch. To avoid that, you have to use "git repo-config >> remote.bla.fetch b ^$". (The last argument is a regular expression which >> has to be matched by the value-to-be-oreplaced.) > > This is in git-clone; the config is empty. What is there to overwrite? The entry you wrote in the previous iteration in the same loop, perhaps?