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

Re: Listing files in order they are changed

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 23, 2010, 20:48 UTC
Message-ID
<m3pqw4gpb2.fsf@localhost.localdomain>
In-Reply-To
<AANLkTimHrCujEggj9KbAWWivY+WxnL0YqsXs+idhymBA@mail.gmail.com>
Parag Kalra <paragkalra@gmail.com> writes:
Show 5 quoted lines
> Is there a way I can make Git list all the tracked files in the
> working directory in order they are changed (modified, added or
> deleted)
> 
> Something like displayed by: git ls-files

No, it is currently not possible, mainly because git thinks in terms of changes to project as a whole, not as changes to individual files.

The tree blame ("git blame <directory>"), if it existed (I have working prototype), would be of use here.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Peter KreftingNext: Sverre Rabbelier
Message 4 of 7 in “Listing files in order they are changed”
  1. Parag KalraSep 23, 2010
  2. Jeff KingSep 23, 2010
  3. Peter KreftingSep 24, 2010
  4. Jakub NarebskiSep 23, 2010
  5. Sverre RabbelierSep 23, 2010
  6. Jakub NarebskiSep 23, 2010
  7. Sverre RabbelierSep 23, 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.