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 Sixt <j.sixt@eudaptics.com>
Date
Jul 2, 2007, 11:47 UTC
Message-ID
<4688E5D4.6BA7EB7F@eudaptics.com>
In-Reply-To
<Pine.LNX.4.64.0707021232510.4438@racer.site>
Johannes Schindelin wrote:
Show 7 quoted lines
> 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.
I'm aware of that; so I said "border case" in the original post.
> Pilot error?

Oh, yes :) It noticed this when I was tweaking the test for git add with symlinks=false that I posted.

-- Hannes
Previous: Johannes Schindelin
Message 4 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.