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

Re: Seeing added and removed files between two tree states

From
Shawn Pearce <spearce@spearce.org>
Date
Dec 4, 2006, 17:33 UTC
Message-ID
<20061204173320.GD6011@spearce.org>
In-Reply-To
<1165253146.32764.3.camel@okra.transitives.com>
Alex Bennee <kernel-hacker@bennee.com> wrote:
> 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.

[spearce@pb15 git]$ git diff-tree -r --abbrev --diff-filter=A next build :000000 100644 0000000... 3d53d17... A shallow.c :000000 100644 0000000... 1fe7a1b... A xdiff/xmerge.c

?
Previous: Alex BenneeNext: Junio C Hamano
Message 2 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.