Re: Fwd: git status options feature suggestion
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 12, 2008, 06:41 UTC
- Message-ID
- <7vwsgegvsh.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20081012044900.GA27845@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> So I think it is probably reasonable to think about a new command (which > would not be called status) that shows this information.
I was going to suggest the same. "git st" for people who come from "svn st" so that "git status" can be kept as traditional "preview of 'git commit'".
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.
And no, I have not seen any argument good enough to change ls-files nor diff-$lowlevel output and break people's existing scripts.