From: Junio C Hamano Date: Sat, 20 Mar 2010 20:57:56 GMT Subject: Re: GSoC draft proposal: Line-level history browser Message-ID: <7vbpeibtij.fsf@alter.siamese.dyndns.org> In-Reply-To: <81b0412b1003201335g7b37c51mfa3e2280210ebb7e@mail.gmail.com> Alex Riesen writes: > On Sat, Mar 20, 2010 at 10:18, Bo Yang wrote: >> >> Its format should be .. or just a . > > You might want to reconsider the line range syntax. Exactly the same syntax > is already used to specify a commit range, so reusing it may lead to confusion. I would actually recommend you take a look at -L option from blame. What I use most often and find very handy myself is this pattern: blame -L '/^void some_function()/,/^}/' -- path as I do not have to count the line numbers. There also was a discussion on allowing more than one -L to blame, which I think is applicable to this feature. Check the list archive for the past few months.