Re: [PATCH 1/2] filter-branch: remove an unnecessary use of 'git read-tree'
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 15, 2009, 17:19 UTC
- Message-ID
- <alpine.DEB.1.00.0912151819010.4985@pacific.mpi-cbg.de>
- In-Reply-To
- <4B274BDE.8000504@viscovery.net>
Hi,
On Tue, 15 Dec 2009, Johannes Sixt wrote:
Show 8 quoted lines
> From: Johannes Sixt <j6t@kdbg.org> > > The intent of this particular call to 'git read-tree' was to fill an > index. But in fact, it only allocated an empty index. Later in the > program, the index is filled anyway by calling read-tree with specific > commits, and considering that elsewhere the index is even removed (i.e., > it is not relied upon that the index file exists), this first call of > read-tree is completely redundant.
Yes, indeed.
Ciao, Dscho