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

Feature request: Limit git-status reports to a directory

From
MMMichel Marti <mma@objectxp.com>
Date
Oct 24, 2007, 22:01 UTC
Message-ID
<ffofbm$lmc$1@ger.gmane.org>

I am sometimes interested in only seeing the status for a specific directory (and its sub-directories), but git-status is no help in this case - passing a directory does some sort of "git-commit --dry-run". I first thought that this is a bug until I saw in the man-page that this is actually a feature...

What I would like to have is something like "git status --limit <path>" and the reported filenames should then be relative to the current directory for easier copy/pasting them to e.g. git-add, git-diff, etc.

Cheers,
- Michel
Next: Yin Ping
Message 1 of 5 in “Feature request: Limit git-status reports to a directory”
  1. Michel MartiOct 24, 2007
  2. Yin PingOct 25, 2007
  3. Johannes SchindelinOct 25, 2007
  4. Wincent ColaiutaOct 25, 2007
  5. Michel MartiOct 25, 2007

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.