Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: Fwd: git status options feature suggestion

From: Leo Razoumov <hidden>
Date: 2016-06-15 22:45:28

On 10/12/08, Junio C Hamano [off-list ref] wrote:
[..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--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help