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

Re: [PATCH v8 2/5] blame: introduce $ as "end of file" in -L syntax

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 13, 2013, 16:05 UTC
Message-ID
<7vip4v475o.fsf@alter.siamese.dyndns.org>
In-Reply-To
<87wqtbivms.fsf@pctrast.inf.ethz.ch>
Thomas Rast <trast@inf.ethz.ch> writes:
Show 5 quoted lines
>> Even though I am moving from builtin/blame.c to line-log.c?  I would
>> otherwise have to call from a rather lib-ish file into a "front
>
> You haven't sent any reply to this.  Does that mean you agree?  Would
> you prefer the shared file to be named something like line-range.c?

The latter, or if you do not want a churn, not moving it out of blame.c at all.

Because "log -L" does not play well with other patch options, from the end-user's perspective, even though may does not have cmd_logL() entry point, I do not think line-log.c is any more library-ish than cmd_log() or cmd_blame().

Previous: Thomas RastNext: Thomas Rast
Message 9 of 21 in “git log -L”
  1. 0/5 git log -LThomas Rast, Feb 28, 2013
  2. 1/5 Refactor parse_locThomas Rast, Feb 28, 2013
  3. Junio C HamanoFeb 28, 2013
  4. Thomas RastFeb 28, 2013
  5. 2/5 blame: introduce $ as "end of file" in -L syntaxThomas Rast, Feb 28, 2013
  6. Junio C HamanoFeb 28, 2013
  7. Junio C HamanoMar 12, 2013
  8. Thomas RastMar 13, 2013
  9. Junio C HamanoMar 13, 2013
  10. 3/5 Export rewrite_parents() for 'log -L'Thomas Rast, Feb 28, 2013
  11. Junio C HamanoFeb 28, 2013
  12. 4/5 Implement line-history search (git log -L)Thomas Rast, Feb 28, 2013
  13. Junio C HamanoFeb 28, 2013
  14. Thomas RastFeb 28, 2013
  15. Junio C HamanoFeb 28, 2013
  16. Thomas RastFeb 28, 2013
  17. Junio C HamanoFeb 28, 2013
  18. Thomas RastMar 1, 2013
  19. Thomas RastMar 1, 2013
  20. 5/5 log -L: :pattern:file syntax to find by funcnameThomas Rast, Feb 28, 2013
  21. Junio C HamanoFeb 28, 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.