Re: [RFC/PATCH v3] gitweb: Better cutting matched string and its context
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 25, 2008, 20:18 UTC
- Message-ID
- <7vskzghjrl.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200802252107.59366.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
Show 5 quoted lines
> Ooops. Sorry about that. I have forgot to transport context when > doing copy'n'paste. > ... > BTW. the example was subtly wrong: you can search _lines_, like grep, > you cannot search multiline.
Yeah, the original had:
For example, if you are looking for "very long ... and how"
in the first paragraph of message (if it were all on a single
line), wouldn't you want to see:and you dropped "if it were all on a single line" part, as you forgot to transport context when doing copy-n-paste ;-)
> Below there is corrected commit message (rewritten to match code).
Thanks. Will take a look later; I am at day-job today.