Re: Fwd: git status options feature suggestion
- From
Jeff King <peff@peff.net>
- Date
- Oct 12, 2008, 06:45 UTC
- Message-ID
- <20081012064512.GA32597@coredump.intra.peff.net>
- In-Reply-To
- <7vwsgegvsh.fsf@gitster.siamese.dyndns.org>
On Sat, Oct 11, 2008 at 11:41:18PM -0700, Junio C Hamano wrote:
> And just make it mimic whatever folks accustomed to "svn st" would expect, > modulo we would need two status letters to signal difference between > (HEAD, index), and (index, worktree). Perhaps three if you want to show > difference between (HEAD, worktree) while at it.
I remember a long time ago you started on a parallel diff walker that could diff the working tree, the index, and a tree at once. Do you remember the issues with it?
I think that would be the right tool here to show each file only once, but with multiple status flags. Something like:
A M foo
to show that "foo" has been added since the last commit, but there are modifications in the working tree that have not yet been staged.
-Peff