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

Re: Disallow empty pattern in "git grep"

From
Junio C Hamano <junkio@cox.net>
Date
Nov 16, 2005, 21:18 UTC
Message-ID
<7vr79g47gl.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0511160934480.13959@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> Yeah, maybe we should allow an empty pattern, and just check the number of 
> arguments instead.

I think this patch is OK; I do not see a reason for wanting an empty pattern.

Previous: Linus Torvalds
Message 2 of 2 in “Disallow empty pattern in "git grep"”
  1. Linus TorvaldsNov 16, 2005
  2. Junio C HamanoNov 16, 2005

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.