Re: [PATCH] Make 'diff C^!' show the same diff as 'show C'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 20, 2009, 23:03 UTC
- Message-ID
- <7vws4ynl5e.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <200908210042.05802.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
Show 7 quoted lines
>> 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...?