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

Re: Fwd: Bug in `git add -N xyz ; git stash` command

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 17, 2020, 19:42 UTC
Message-ID
<xmqq1rfoz0b7.fsf@gitster.c.googlers.com>
In-Reply-To
<CAHMHMxUdt1cxE1UkjbjUxpL=4fcjrE64udR6YJidbzLJS0ca2w@mail.gmail.com>
Σταύρος Ντέντος  <stdedos@gmail.com> writes:
Show 5 quoted lines
> Not deciding to fix that (or not agreeing on how to fix it), should be
> orthogonal from the "what does the error message says" about it.
> I would expect something like "'xyz' is marked with intent-to-add;
> either stage (git add xyz) or remove the file (git ... xyz); refusing
> to stage."
"refusing to stash", you mean?

I think that your wording may be an improvement. Care to whip up a patch?

Thanks.
Previous: Σταύρος Ντέντος
Message 4 of 4 in “Fwd: Bug in `git add -N xyz ; git stash` command”
  1. Σταύρος ΝτέντοςDec 16, 2020
  2. Junio C HamanoDec 16, 2020
  3. Σταύρος ΝτέντοςDec 17, 2020
  4. Junio C HamanoDec 17, 2020

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.