All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Sparse checkout fixes
@ 2010-11-26 18:17 Nguyễn Thái Ngọc Duy
  2010-11-26 18:17 ` [PATCH 1/5] cache.h: remove surrounding brackes and realign CE_* constants Nguyễn Thái Ngọc Duy
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Nguyễn Thái Ngọc Duy @ 2010-11-26 18:17 UTC (permalink / raw)
  To: Junio C Hamano, git, Jonathan Niedier, tfransosi
  Cc: Nguyễn Thái Ngọc Duy

[on top of nd/maint-fix-add-typo-detection]

This fixes a sparse pattern sometimes won't match a directory if
 - it does not end with a slash
 - it has wildcards

The series also improves performance a bit, thanks to 3/5, skip-worktree
bits are precomputed.

Improvements in the previous round [1] are left out. I will need to
polish them a bit more.

[1] http://thread.gmane.org/gmane.comp.version-control.git/161477

Nguyễn Thái Ngọc Duy (5):
  cache.h: remove surrounding brackes and realign CE_* constants
  dir.c: add free_excludes()
  unpack-trees: move all skip-worktree checks back to unpack_trees()
  unpack-trees: fix sparse checkout's "unable to match directories"
  Revert "excluded_1(): support exclude files in index"

 Documentation/git-read-tree.txt      |    7 -
 cache.h                              |   26 ++--
 dir.c                                |   19 ++-
 dir.h                                |    1 +
 t/t1011-read-tree-sparse-checkout.sh |   14 ++-
 unpack-trees.c                       |  240 ++++++++++++++++++++++++++++++----
 6 files changed, 254 insertions(+), 53 deletions(-)

-- 
1.7.3.2.316.gda8b3

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

end of thread, other threads:[~2010-11-27  6:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-26 18:17 [PATCH 0/5] Sparse checkout fixes Nguyễn Thái Ngọc Duy
2010-11-26 18:17 ` [PATCH 1/5] cache.h: remove surrounding brackes and realign CE_* constants Nguyễn Thái Ngọc Duy
2010-11-26 19:20   ` Thiago Farina
2010-11-27  6:22     ` [PATCH 1/5] cache.h: realign and use (1 << x) form for " Nguyễn Thái Ngọc Duy
2010-11-26 18:17 ` [PATCH 2/5] dir.c: add free_excludes() Nguyễn Thái Ngọc Duy
2010-11-26 18:17 ` [PATCH 3/5] unpack-trees: move all skip-worktree checks back to unpack_trees() Nguyễn Thái Ngọc Duy
2010-11-27  6:24   ` Nguyễn Thái Ngọc Duy
2010-11-26 18:17 ` [PATCH 4/5] unpack-trees: fix sparse checkout's "unable to match directories" Nguyễn Thái Ngọc Duy
2010-11-26 18:17 ` [PATCH 5/5] Revert "excluded_1(): support exclude files in index" Nguyễn Thái Ngọc Duy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.