How to prevent empty git commit --amend

2015-01-13 Thread Ivo Anjo
om working? If not, I would like to suggest that this feature would be very helpful :) Thanks for your time! Ivo Anjo -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: How to prevent empty git commit --amend

2015-01-13 Thread Ivo Anjo
nothing at all happened. Of course I can check the status or some other things before/after the amend commit, but since end up doing this error sometimes I was hoping I could set up git to stop me from doing it. Ivo Anjo On Tue, Jan 13, 2015 at 8:59 AM, Daniel Knittl-Frank wrote: > > On Tue

Re: How to prevent empty git commit --amend

2015-01-14 Thread Ivo Anjo
--quiet || git commit --amend > > and then use "git amend". Genius! This is exactly what I wanted, thanks! Ivo Anjo -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html