Re: RFC: git status --amend

2015-04-03 Thread Jeff King
On Fri, Apr 03, 2015 at 02:57:48PM -0700, David Aguilar wrote: But I discarded it as a useless suggestion before writing it down, primarily because I couldn't come up with an explanation _why_ being able to say git status --relative-to=next Makefile is useful when on the 'master' branch.

Re: RFC: git status --amend

2015-04-03 Thread David Aguilar
On Wed, Apr 01, 2015 at 10:16:22AM -0700, Junio C Hamano wrote: David Aguilar dav...@gmail.com writes: Would generalizing status to have a more gittish syntax make you feel less torn? One of my early draft responses included a one whose punch line was Why limit the comparison to HEAD

Re: RFC: git status --amend

2015-04-01 Thread David Aguilar
On Tue, Mar 31, 2015 at 11:35:17AM -0700, Junio C Hamano wrote: Jeff King p...@peff.net writes: On Tue, Mar 31, 2015 at 04:59:27PM +0200, Sven Strickroth wrote: for frontends or scripts it would be helpful to be able to use git status for getting the repository status compared to HEAD~1

Re: RFC: git status --amend

2015-04-01 Thread Junio C Hamano
David Aguilar dav...@gmail.com writes: Would generalizing status to have a more gittish syntax make you feel less torn? One of my early draft responses included a one whose punch line was Why limit the comparison to HEAD and HEAD^ but no other point of reference? But I discarded it as a

RFC: git status --amend

2015-03-31 Thread Sven Strickroth
Hi, for frontends or scripts it would be helpful to be able to use git status for getting the repository status compared to HEAD~1 instead of only HEAD (as provided by git commit --amend in the pre-filled commit message). Thus, I'm suggesting to add a --amend parameter (or a parameter with a

Re: RFC: git status --amend

2015-03-31 Thread Junio C Hamano
Jeff King p...@peff.net writes: On Tue, Mar 31, 2015 at 04:59:27PM +0200, Sven Strickroth wrote: for frontends or scripts it would be helpful to be able to use git status for getting the repository status compared to HEAD~1 instead of only HEAD (as provided by git commit --amend in the

Re: RFC: git status --amend

2015-03-31 Thread Jeff King
On Tue, Mar 31, 2015 at 04:59:27PM +0200, Sven Strickroth wrote: for frontends or scripts it would be helpful to be able to use git status for getting the repository status compared to HEAD~1 instead of only HEAD (as provided by git commit --amend in the pre-filled commit message). Thus,