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

Re: "git add" with several pathspecS and one doesn't match

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 14, 2018, 19:29 UTC
Message-ID
<xmqqtvujmksv.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<d5e4138e-d5d6-3a84-a222-8d0170a52ccb@gmail.com>
Goffredo Baroncelli <kreijack@gmail.com> writes:
> I am facing this issue: I am ADDing some file with several
> pathspec, and one of these fails. The results is that no file is
> added at all.

This is a good example of a pretty conscious design decision to keep operations atomic/a-o-n when appropriate.

Previous: Goffredo Baroncelli
Message 2 of 2 in “"git add" with several pathspecS and one doesn't match”
  1. Goffredo BaroncelliFeb 14, 2018
  2. Junio C HamanoFeb 14, 2018

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.