git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Apr 2013, #02; Fri, 5)

From
Thomas Rast <trast@inf.ethz.ch>
Date
Apr 12, 2013, 09:56 UTC
Message-ID
<87ppy0gjic.fsf@linux-k42r.v.cablecom.net>
In-Reply-To
<7vip40bolc.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 12 quoted lines
> * tr/line-log (2013-04-05) 7 commits
>   (merged to 'next' on 2013-04-05 at 5afb00c)
>  + log -L: fix overlapping input ranges
>  + log -L: check range set invariants when we look it up
>   (merged to 'next' on 2013-04-01 at 5be920c)
>  + Speed up log -L... -M
>  + log -L: :pattern:file syntax to find by funcname
>  + Implement line-history search (git log -L)
>  + Export rewrite_parents() for 'log -L'
>  + Refactor parse_loc
>
>  Will merge down to 'master'

I did some fuzz-testing, choosing random commits and ranges from files and running log -L on them.

While the good news is that I couldn't break ordinary log -L, there's a rather embarassing pair of bugs: -M is completely broken (at least when it would do any good) and the tests that claim to look at move support actually don't pass -M.

So please hold off merging, I'll try to get this fixed this weekend.
Sorry for the trouble!
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: John KeepingNext: Thomas Rast
Message 3 of 8 in “What's cooking in git.git (Apr 2013, #02; Fri, 5)”
  1. Junio C HamanoApr 5, 2013
  2. John KeepingApr 7, 2013
  3. Thomas RastApr 12, 2013
  4. 0/4 fix log -L -MThomas Rast, Apr 12, 2013
  5. 1/4 t4211: pass -M to 'git log -M -L...' testThomas Rast, Apr 12, 2013
  6. 2/4 log -L: test merge of parallel modify/renameThomas Rast, Apr 12, 2013
  7. 3/4 log -L: store the path instead of a diff_filespecThomas Rast, Apr 12, 2013
  8. 4/4 log -L: improve comments in process_all_files()Thomas Rast, Apr 12, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.