Browse Source
Since 34110cd
(Make 'unpack_trees()' have a separate source and
destination index, 2008-03-06), we can run unpack_trees() without munging
the index at all, but do_diff_cache() tried ever so carefully to work
around the old behaviour of the function.
We can just tell unpack_trees() not to touch the original index and there
is no need to clean-up whatever the previous round has done.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
![gitster@pobox.com](/assets/img/avatar_default.png)
1 changed files with 1 additions and 25 deletions
Loading…
Reference in new issue