git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Speeding up "git status" and "git diff --cached"
@ 2009-05-23 19:24 Junio C Hamano
  2009-05-23 19:24 ` [PATCH 1/5] write-tree --ignore-cache-tree Junio C Hamano
  2009-05-25 10:59 ` [PATCH 0/5] Speeding up "git status" and "git diff --cached" Jeff King
  0 siblings, 2 replies; 7+ messages in thread
From: Junio C Hamano @ 2009-05-23 19:24 UTC (permalink / raw)
  To: git

Here is a refined version of an earlier patch series to use cache-tree
information to optimize comparison between the index with an existing
commit.

Recently there was a discussion to auto-commit any change to the index
that are going to be discarded to some kind of "trash" branch; I am not
personally interested in writing a patch to do so, but this will also help
such a feature by making it cheaper to see if there are differences worth
saving.

Junio C Hamano (5):
  write-tree --ignore-cache-tree
  cache-tree.c::cache_tree_find(): simplify inernal API
  t4007: modernize the style
  Optimize "diff-index --cached" using cache-tree
  Avoid "diff-index --cached" optimization under --find-copies-harder

 builtin-write-tree.c |   12 ++++++--
 cache-tree.c         |   44 +++++++++++++++++++++++++++--
 cache-tree.h         |   10 ++++++-
 diff-lib.c           |    3 ++
 t/t4007-rename-3.sh  |   74 +++++++++++++++++++++++++-------------------------
 unpack-trees.c       |   17 +++++++++++
 unpack-trees.h       |    1 +
 7 files changed, 117 insertions(+), 44 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-05-25 10:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-23 19:24 [PATCH 0/5] Speeding up "git status" and "git diff --cached" Junio C Hamano
2009-05-23 19:24 ` [PATCH 1/5] write-tree --ignore-cache-tree Junio C Hamano
2009-05-23 19:24   ` [PATCH 2/5] cache-tree.c::cache_tree_find(): simplify inernal API Junio C Hamano
2009-05-23 19:24     ` [PATCH 3/5] t4007: modernize the style Junio C Hamano
2009-05-23 19:24       ` [PATCH 4/5] Optimize "diff-index --cached" using cache-tree Junio C Hamano
2009-05-23 19:24         ` [PATCH 5/5] Avoid "diff-index --cached" optimization under --find-copies-harder Junio C Hamano
2009-05-25 10:59 ` [PATCH 0/5] Speeding up "git status" and "git diff --cached" Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).