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

Q: supplying large sets of path to git commands

From
CPConstantine Plotnikov <constantine.plotnikov@gmail.com>
Date
Oct 16, 2009, 10:40 UTC
Message-ID
<85647ef50910160340s5b608d9cmb13679d7c6a987cd@mail.gmail.com>

Some git commands like git check-attr supports receiving paths from stdin. For other commands like "git diff" and "git commit --only" I have not found a way to supply a lot of paths (say 1000). Is there a standard way pass a additional paths to git commands that works on windows and unix? It would be nice to have --stdin option for all commands that might receive a set of paths. Or even better would something like "--options-from-stdin" and "--options-from-file=file.txt" as a possible last argument specified on the command line.

Constantine
Next: Junio C Hamano
Message 1 of 2 in “Q: supplying large sets of path to git commands”
  1. Constantine PlotnikovOct 16, 2009
  2. Junio C HamanoOct 16, 2009

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.