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