From: Junio C Hamano Date: Thu, 28 May 2020 18:30:16 GMT Subject: Re: [PATCH 0/4] Selectively show only blamed limes Message-ID: In-Reply-To: <20200528164533.GA1223132@coredump.intra.peff.net> Jeff King writes: > 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 > "/" 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.