From: Petr Baudis Date: Wed, 02 May 2007 16:48:21 GMT Subject: Re: Git benchmarks at OpenOffice.org wiki Message-ID: <20070502164821.GE4489@pasky.or.cz> In-Reply-To: <20070502163715.GD4489@pasky.or.cz> Hi, On Wed, May 02, 2007 at 06:37:15PM CEST, Petr Baudis wrote: > you can see an example script at > > http://repo.or.cz/w/elinks.git?a=blob;f=contrib/grafthistory.sh by the way, this script goes back to very ancient Git times, maybe by now git-fetch could be convinced to do all the hard work for you. Actually, maybe just something (totally untested) like git remote add -f historical {http,git}://historical_repository_url cat <>.git/info/grafts ... the graft specs go here ... EOF might work prefectly fine nowadays that git keeps the remote refs in a separate namespace tidily. This way you don't have to care about all the manual wgetting, ls-remote magic etc. The downside is that this is available only since git-1.5.0 (Debian stable has older version; maybe even newer git version is required, I'm not sure). -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Ever try. Ever fail. No matter. // Try again. Fail again. Fail better. -- Samuel Beckett