From: Junio C Hamano Date: Wed, 05 Oct 2011 17:40:37 GMT Subject: Re: git-cherry-pick and git-commit --amend in version 1.7.6.4 Message-ID: <7v8voz8hgq.fsf@alter.siamese.dyndns.org> In-Reply-To: <4E8C6F2F.1070306@6wind.com> Pinging Jay who may have know a thing or two from the history leading to 37f7a85 (Teach commit about CHERRY_PICK_HEAD, 2011-02-19). Nicolas Dichtel writes: > Hi, > > still with version 1.7.6.4, when I do a cherry-pick, that succeeded, I > cannot do a commit --amend after: > > # git cherry-pick 3f78d1f210ff89af77f042ab7f4a8fee39feb1c9 > [dev 1a04a23] drivers/net/usb/asix.c: Fix unaligned accesses > 1 files changed, 33 insertions(+), 1 deletions(-) > # echo $? > 0 > # git commit --amend > fatal: You are in the middle of a cherry-pick -- cannot amend. > # > > The same operations (with the same patch), with version 1.7.3.4 is ok. > > > Regards, > Nicolas