From: Junio C Hamano Date: Thu, 20 Aug 2009 23:03:09 GMT Subject: Re: [PATCH] Make 'diff C^!' show the same diff as 'show C' Message-ID: <7vws4ynl5e.fsf@alter.siamese.dyndns.org> In-Reply-To: <200908210042.05802.trast@student.ethz.ch> Thomas Rast writes: >> If that is indeed the case and if it is a common thing to ask, isn't it >> more productive to teach "show" a way to do so in a simpler way than >> doing, say, >> >> $ git show --pretty=format: HEAD > > That still doesn't get rid of the stray newline. And the reason you don't want that newline, especially when you know there always is one so if you really wanted to you could easily sed it out, is...?