aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-01-13 00:30:56 -0800
committerJunio C Hamano <gitster@pobox.com>2008-01-13 00:30:56 -0800
commitfa9dcf80e1048ea996349891a885ac325019fcac (patch)
treef05ce66e4cb81298f83d7ade9c22530d34e98a43 /contrib/persistent-https
parentgit-clean: fix off-by-one memory access when given no arguments (diff)
downloadgit-fa9dcf80e1048ea996349891a885ac325019fcac.tar.gz
git-fa9dcf80e1048ea996349891a885ac325019fcac.zip
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 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions