Re: amend warnings with no changes staged

2019-08-05 Thread Lukas Gross
the effect of “Warning: did you mean to amend with no changes?” would be very helpful to shorten this feedback loop. Lukas On 8/5/19, Jonathan Nieder wrote: > Hi, > > Lukas Gross wrote: > >> I have occasionally used git commit --amend without staging any >> changes or modi

amend warnings with no changes staged

2019-08-05 Thread Lukas Gross
Hi, I have occasionally used git commit --amend without staging any changes or modifying the commit message (--no-edit). Since this is often done unintentionally, could amend warn when it is being used in this way? Thanks!