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

git-log bug: --grep and -number args are at odds

From
Alexander Mills <alexander.d.mills@gmail.com>
Date
Mar 13, 2018, 21:42 UTC
Message-ID
<CA+KyZp6QZ4BmOtLFiByjmZ4NsZyDBFsqme64aT5ER-QpgD49pg@mail.gmail.com>
$ git log -50   ###  I get 50 results
$ git log -50 --grep="*"   ### I get a lot more than 50...
shouldn't `-50` minimize the results length to 50 or fewer?
-alex
-- 
Alexander D. Mills
! New cell phone number: (415)766-8243
alexander.d.mills@gmail.com

www.linkedin.com/pub/alexander-mills/b/7a5/418/
Next: Ævar Arnfjörð Bjarmason
Message 1 of 2 in “git-log bug: --grep and -number args are at odds”
  1. Alexander MillsMar 13, 2018
  2. Ævar Arnfjörð BjarmasonMar 13, 2018

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.