From: Uwe Kleine-König Date: Wed, 21 Jan 2009 11:06:28 GMT Subject: Re: [PATCH] [TOPGIT] make tg remote idempotent Message-ID: <20090121110628.GA9415@strlen.de> In-Reply-To: <1231968443-13960-1-git-send-email-u.kleine-koenig@pengutronix.de> Hello, On Wed, Jan 14, 2009 at 10:27:22PM +0100, Uwe Kleine-König wrote: > -git config --add "remote.$name.fetch" "+refs/top-bases/*:refs/remotes/$name/top-bases/*" > -git config --add "remote.$name.push" "+refs/top-bases/*:refs/top-bases/*" > -git config --add "remote.$name.push" "+refs/heads/*:refs/heads/*" > +git config --replace-all "remote.$name.fetch" "+refs/top-bases/*:refs/remotes/$name/top-bases/*" "+refs/top-bases/*:refs/remotes/$name/top-bases/*" > +git config --replace-all "remote.$name.push" "+refs/top-bases/*:refs/top-bases/*" "+refs/top-bases/*:refs/top-bases/*" > +git config --replace-all "remote.$name.push" "+refs/heads/*:refs/heads/*" "+refs/heads/*:refs/heads/*" It seems I sent an old version of this patch. Actually in the last argument '+' and '*' have to be quoted to work. I fixed this in my repo. Should I resend the fixed patch? Best regards Uwe