From: Sverre Rabbelier Date: Wed, 08 Jun 2011 17:04:27 GMT Subject: Re: Git-Mediawiki : cloning a set of pages Message-ID: In-Reply-To: <20110608151940.GD7805@sigill.intra.peff.net> Heya, On Wed, Jun 8, 2011 at 17:19, Jeff King wrote: > Maybe it would be even simpler and more flexible to give clone a "-c" > flag that writes specific config variables in the newly-created > repository. This makes a lot of sense. What about a use case like git-svn supports currently, where you want to indicate "use the default trunk/branches/tags setup"? Yes, you could do `git clone -c defaults svn://example.com` and then git-remote-svn can set the relevant config options itself. The only downside is that git-remote-svn then needs to unset 'defaults' and set the appropriate values itself (to avoid cluttering the config file). Thoughts? -- Cheers, Sverre Rabbelier