From: Johannes Sixt Date: Tue, 15 Dec 2009 08:42:06 +0000 (+0100) Subject: filter-branch: remove an unnecessary use of 'git read-tree' X-Git-Tag: v1.7.0-rc0~122^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7ee6376938919d36a9f8d45dd3ae20f0cb494574?ds=sidebyside;hp=7ee6376938919d36a9f8d45dd3ae20f0cb494574 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 Signed-off-by: Junio C Hamano ---