[PATCH 0/3] Exclude pathspec
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Dec 6, 2013, 07:30 UTC
- Message-ID
- <1386315049-19097-1-git-send-email-pclouds@gmail.com>
A WIP patch [1] was posted a while ago. This is the polished version with tests and stuff. '!' is used as the shortcut instead of '-'. You can now say "select this path except this subpath..." for nearly all commands that take pathspec.
[1] http://thread.gmane.org/gmane.comp.version-control.git/234835/focus=238062
Nguyễn Thái Ngọc Duy (3): glossary-content.txt: rephrase magic signature part Support pathspec magic :(exclude) and its short form :! pathspec.c: support adding prefix magic to a pathspec with mnemonic magic
Documentation/glossary-content.txt | 34 +++---- builtin/add.c | 5 +- dir.c | 47 +++++++-- pathspec.c | 37 ++++--- pathspec.h | 4 +- t/t6132-pathspec-exclude.sh (new +x) | 184 +++++++++++++++++++++++++++++++++++ tree-walk.c | 83 +++++++++++++++- 7 files changed, 354 insertions(+), 40 deletions(-)
-- 1.8.5.1.25.g8667982