Re: [RFC/PATCH] commit/status: show the index-worktree with -v -v

2015-01-16 Thread Michael J Gruber
Junio C Hamano schrieb am 15.01.2015 um 21:11: > Michael J Gruber writes: > >> git commit and git status in long format show the diff between HEAD >> and the index when given -v. This allows previewing a commit to be made. >> >> They also list tracked files with unstaged changes, but without a di

Re: [RFC/PATCH] commit/status: show the index-worktree with -v -v

2015-01-15 Thread Junio C Hamano
Junio C Hamano writes: > I do not think that output order is very helpful. Two diffs to the > same file next to each other may make it easier to notice, though. > ... > or it may want to even be like this: > > diff --git a/A b/A > ... > diff --git to-be-committed/A left-o

Re: [RFC/PATCH] commit/status: show the index-worktree with -v -v

2015-01-15 Thread Junio C Hamano
Michael J Gruber writes: > git commit and git status in long format show the diff between HEAD > and the index when given -v. This allows previewing a commit to be made. > > They also list tracked files with unstaged changes, but without a diff. > > Introduce '-v -v' which shows the diff between

[RFC/PATCH] commit/status: show the index-worktree with -v -v

2015-01-15 Thread Michael J Gruber
git commit and git status in long format show the diff between HEAD and the index when given -v. This allows previewing a commit to be made. They also list tracked files with unstaged changes, but without a diff. Introduce '-v -v' which shows the diff between the index and the worktree in additio