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

Re: [PATCH] Test that git add removes stages 1,2,3.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 2, 2007, 11:34 UTC
Message-ID
<Pine.LNX.4.64.0707021232510.4438@racer.site>
In-Reply-To
<11833750863127-git-send-email-johannes.sixt@telecom.at>
Hi,
On Mon, 2 Jul 2007, Johannes Sixt wrote:
> git add seems to have a bug, where it doesn't remove stages 1,2,3
> if a stage 0 entry is already in the index.

But how does that happen? I do not know any way to use porcelain to achieve that bogus state.

AFAIK stages 1,2,3 are only populated when there are conflicts, in which case there is no stage 0. Literally the only way I see to have both is to _make_ update-index put them in there.

Pilot error?

Ciao, Dscho

Previous: Johannes SixtNext: Johannes Sixt
Message 3 of 4 in “Test that git add removes stages 1,2,3.”
  1. Test that git add removes stages 1,2,3.Johannes Sixt, Jul 2, 2007
  2. Test that git add removes stages 1,2,3.Johannes Sixt, Jul 2, 2007
  3. Johannes SchindelinJul 2, 2007
  4. Johannes SixtJul 2, 2007

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.