From: Bo Yang Date: Sun, 21 Mar 2010 06:16:27 GMT Subject: Re: GSoC draft proposal: Line-level history browser Message-ID: <41f08ee11003202316w2fddc5f4jebda47f325451577@mail.gmail.com> In-Reply-To: <4BA544FC.7050007@gmail.com> On Sun, Mar 21, 2010 at 5:58 AM, A Large Angry SCM wrote: > Alex Riesen wrote: >> >> 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, actually, think the proposed line range syntax works because it uses the > same _range_ notation. The issue is how to differentiate the _line_ range(s) > from the _commit_ range(s); and, yes, I would like multiple ranges of each > type as well as multiple files. As what I said in previous post, I think we should adopt 'git blame' way. Use a '-L ,' to specify the line range. It support both line number and posix regex. For multiple ranges stuff, I don't think it is very useful to support it for a history browser. Anyway, our users can only focus on one line of thread history. I am very willing to listen what is your use case for a multiple ranges? Thanks for your precious advice! Regards! Bo