Re: Fwd: git status options feature suggestion
- From
- Leo Razoumov <slonik.az@gmail.com>
- Date
- Oct 12, 2008, 10:09 UTC
- Message-ID
- <ee2a733e0810120309o1fbfa4dxe6f2292a28bd6db3@mail.gmail.com>
On 10/12/08, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> [..snip..] > 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. >
Please, at least introduce a new option (--status-letters) that makes
git log --name-status git diff --name-status git ls-files -v
to use consistent letters to indicate the status. For details, see recent discussion http://www.spinics.net/lists/git/msg81141.html
Thanks, --Leo--