Re: git-fast-import
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 7, 2007, 23:55 UTC
- Message-ID
- <Pine.LNX.4.63.0702080054180.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070207225532.GA1970@spearce.org>
Hi,
On Wed, 7 Feb 2007, Shawn O. Pearce wrote:
Show 14 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > On Wed, 7 Feb 2007, Karl Hasselström wrote: > > > In other words, general history rewriting, but fast. > > > > For this, it would be better to use a different approach: fast-import > > still hashes all the objects, which would not be necessary when rewriting. > > I guess that is what cogito's tool is doing. > > gfi doesn't require that it rehash blob objects. > > If the blobs in question are already available in the repository > gfi is running against (say, from the old branch history) you > can just feed those blob SHA-1s at gfi in its 'M' commands when > making commits.
Ah! I overlooked that feature. Certainly, this makes gfi (could we please call it "fast-import", please?) very useful for history rewriting purposed.
Ciao, Dscho