diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-13 00:30:56 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-13 00:30:56 -0800 |
commit | fa9dcf80e1048ea996349891a885ac325019fcac (patch) | |
tree | f05ce66e4cb81298f83d7ade9c22530d34e98a43 /xdiff-interface.c | |
parent | a8db80c22494396a81d2b4b7f4082c369fc0f78d (diff) | |
download | git-fa9dcf80e1048ea996349891a885ac325019fcac.tar.gz git-fa9dcf80e1048ea996349891a885ac325019fcac.tar.xz |
Fix performance regression for partial commits
When running "git commit paths" to create a partial commit, we
used to carefully build the temporary index so that we do not
lose the cached stat information. The rewrite of the command in
C lost it by carelessly using read_tree().
This resurrects the earlier behaviour to keep the cached stat
information as much as possible by using one-tree merge logic.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.c')
0 files changed, 0 insertions, 0 deletions