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

Re: git-status producing incorrect results

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 14, 2008, 16:51 UTC
Message-ID
<alpine.LSU.1.00.0802141650080.30505@racer.site>
In-Reply-To
<20080214164505.GA21932@coredump.intra.peff.net>
Hi,
On Thu, 14 Feb 2008, Jeff King wrote:
Show 12 quoted lines
> There seems to be a bug in "git-status" in next (but not in master). I
> bisected it to:
> 
>   commit d1f2d7e8ca65504722108e2db710788f66c34c6c
>   Author: Linus Torvalds <torvalds@linux-foundation.org>
>   Date:   Sat Jan 19 17:27:12 2008 -0800
> 
>   Make run_diff_index() use unpack_trees(), not read_tree()
> 
> Basically, doing a partial commit when a new file has been added to the
> index but isn't part of the partial commit will cause that new file to
> be listed as part of the index.

I experienced the same bug, but when I looked in the tests, I had the impression that it tested for that very bug, and succeeded. And I did not have time to look into it further.

Speaking of tests... How about it?

Ciao, Dscho

Previous: Jeff KingNext: Jeff King
Message 2 of 7 in “git-status producing incorrect results”
  1. Jeff KingFeb 14, 2008
  2. Johannes SchindelinFeb 14, 2008
  3. Jeff KingFeb 14, 2008
  4. Johannes SchindelinFeb 14, 2008
  5. Jeff KingFeb 14, 2008
  6. Linus TorvaldsFeb 14, 2008
  7. Jeff KingFeb 14, 2008

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.