From: Junio C Hamano Date: Thu, 21 Feb 2008 20:23:10 GMT Subject: Re: [PATCH] A test for commit --amend allowing changing of a very empty commit message Message-ID: <7vwsoyt5xt.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080221195438.GA6973@steel.home> Alex Riesen writes: > Signed-off-by: Alex Riesen > --- > > Well, it fails... In current master Then please mark it with test_expect_failure. > +test_expect_success 'allow amend of an empty message' ' > + > + git reset --hard && > + sha=$(:|git commit-tree HEAD^{tree} -p HEAD) && You do not have to pipe;