author | Johannes Sixt <j6t@kdbg.org> | |
Tue, 15 Dec 2009 08:42:06 +0000 (09:42 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 16 Dec 2009 00:20:23 +0000 (16:20 -0800) | ||
commit | 7ee6376938919d36a9f8d45dd3ae20f0cb494574 | |
tree | a22eeff90f2216e7bcb2297d94ffbef1e9416e0f | tree | snapshot |
parent | 9861b644e045b5ee0e16dea65b44419205090960 | commit | diff |
filter-branch: remove an unnecessary use of 'git read-tree'
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.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh | diff | blob | history |