From: Junio C Hamano Date: Tue, 06 Dec 2011 20:03:55 GMT Subject: Re: Query on git commit amend Message-ID: <7vobvlfowk.fsf@alter.siamese.dyndns.org> In-Reply-To: <87fwgxwvn9.fsf@gmail.com> Vijay Lakshminarayanan writes: > I've found > > $ GIT_EDITOR=cat git commit --amend > > useful. Are you sure it is a cat? I almost always use $ EDITOR=: git commit --amend when rewriting the contents without updating the message, but I think we should allow people to say: $ git commit --amend --no-edit which is accepted from the command line but is not honoured.