Re: [PATCH 0/4] Selectively show only blamed limes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 28, 2020, 18:30 UTC
- Message-ID
- <xmqq4krz52vb.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200528164533.GA1223132@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 18 quoted lines
> On Wed, May 27, 2020 at 11:24:54AM +0100, Philip Oakley wrote: > >> > I'm not convinced this is a useful thing to do in general. Lines don't >> > always stand on their own, and you'd lack context for deciphering them. >> > So a real example from "git blame -b --since=1.year.ago Makefile", for >> > example (pardon the long lines): >> >> My contention is that there is a lot of effort needed _beforehand_ to >> reach that point. We've already had to page down 2700 line to get there, >> and then had to carefully select the differing before and after context >> lines. > > I think: > > git blame -b --since=1.year.ago ... | less "+/^[^ ]" > > works pretty well to get you to the right spot, with context (and then > "/<enter>" within less takes you to the next line).
Yup. I think this is mostly about knowing how to use the tools that already exist. I am not interested in this new "feature", either.
Thanks.