diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-07-08 10:28:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-09 03:24:18 +0200 |
commit | b24f56d60491416a1c5a8fc71863bbaa0f390f23 (patch) | |
tree | cb5db51d5c5a0cf0f3818d046134d25f4825406c /builtin-branch.c | |
parent | diff.c: make built-in hunk header pattern a separate table (diff) | |
download | git-b24f56d60491416a1c5a8fc71863bbaa0f390f23.tar.xz git-b24f56d60491416a1c5a8fc71863bbaa0f390f23.zip |
git-stash: try reusing cached stat info as much as possible
Earlier when we read a tree into a temporary index, we read it
from scratch. Start from the current index and use read-tree -m
to preserve cached stat information as much as possible, in
order to speed up "git add -u". This makes "git stash" usable
in a source tree of nontrivial size.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-branch.c')
0 files changed, 0 insertions, 0 deletions