git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Next: Nguyễn Thái Ngọc Duy
Message 1 of 5 in “Exclude pathspec”
  1. 0/3 Exclude pathspecNguyễn Thái Ngọc Duy, Dec 6, 2013
  2. 1/3 glossary-content.txt: rephrase magic signature partNguyễn Thái Ngọc Duy, Dec 6, 2013
  3. 2/3 Support pathspec magic :(exclude) and its short form :!Nguyễn Thái Ngọc Duy, Dec 6, 2013
  4. 3/3 pathspec.c: support adding prefix magic to a pathspec with mnemonic magicNguyễn Thái Ngọc Duy, Dec 6, 2013
  5. Junio C HamanoDec 6, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.