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

Re: Seeing added and removed files between two tree states

From
Junio C Hamano <junkio@cox.net>
Date
Dec 4, 2006, 21:18 UTC
Message-ID
<7vwt57nyw0.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1165253146.32764.3.camel@okra.transitives.com>
Alex Bennee <kernel-hacker@bennee.com> writes:
Show 5 quoted lines
> In there a way to see just what files where added between two points in
> the tree? I want something better than parsing the diffstat.
>
> I thought git-ls-files -ad comittish..comitishb would do the trick but
> it seems not.
$ git diff-tree --name-status --diff-filter=A HEAD~64 HEAD

Variants of the above are possible. If you want to see addition and deletion, use --diff-filter=AD.

Previous: Shawn Pearce
Message 3 of 3 in “Seeing added and removed files between two tree states”
  1. Alex BenneeDec 4, 2006
  2. Shawn PearceDec 4, 2006
  3. Junio C HamanoDec 4, 2006

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.