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

git diff/grep add --exclude option

From
Sylvain Rabot <sylvain@abstraction.fr>
Date
Apr 12, 2010, 21:02 UTC
Message-ID
<1271106125.3031.31.camel@kheops>
Hi,

I was surprised to not find an option to exclude file from git diff/grep outputs like -x for diff or --exclude for grep. It's too bad because it can be really useful.

Is something like that is planned to be implemented by somebody? I would have loved to do it but unfortunately I'm no C developer.

Regards.
-- 
Sylvain Rabot <sylvain@abstraction.fr>
Next: Johannes Gilger
Message 1 of 2 in “git diff/grep add --exclude option”
  1. Sylvain RabotApr 12, 2010
  2. Johannes GilgerApr 15, 2010

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.