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

Re: Excluding paths with wildcard not working with add -p

From
RDRobert Dailey <rcdailey.lists@gmail.com>
Date
May 29, 2022, 21:15 UTC
Message-ID
<CAHd499BX_8fP=BdJW8cuZnwJFoqxrsiLCZ45Ke12MOsaj7M-Dw@mail.gmail.com>
In-Reply-To
<xmqqh758yz4u.fsf@gitster.g>
On Sun, May 29, 2022 at 1:25 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> Does this command
>
>     git add -p -- . ':^*.cs'
>
> work as you expect?
yes I can confirm this works.
Previous: rsbecker@nexbridge.comNext: Junio C Hamano
Message 6 of 7 in “Excluding paths with wildcard not working with add -p”
  1. Robert DaileyMay 29, 2022
  2. Junio C HamanoMay 29, 2022
  3. Junio C HamanoMay 29, 2022
  4. pathspec: correct an empty string used as a pathspec elementJunio C Hamano, May 29, 2022
  5. rsbecker@nexbridge.comMay 29, 2022
  6. Robert DaileyMay 29, 2022
  7. Junio C HamanoMay 30, 2022

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.