From: Junio C Hamano Date: Mon, 03 Dec 2007 07:33:28 GMT Subject: Re: [PATCH 6/6] builtin-commit: Add newline when showing which commit was created Message-ID: <7vzlwsmdvb.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071201222106.GA27102@coredump.intra.peff.net> Jeff King writes: > On Sun, Nov 11, 2007 at 05:36:52PM +0000, Johannes Schindelin wrote: > >> The function log_tree_commit() does not break the line, so we have to >> do it ourselves. > > Johannes, > > Can you explain the rationale for this change in more detail? > > When I run builtin-commit from the tip of next, I always get an extra > newline (as compared to the shell behavior): After reverting this, recording a merge commit seems to have lost the newline. Can be easily reproduced with: $ git merge --no-commit some-branch $ git commit -a -m 'foo'