Git development
 help / color / mirror / Atom feed
* Seeing added and removed files between two tree states
@ 2006-12-04 17:25 Alex Bennee
  2006-12-04 17:33 ` Shawn Pearce
  2006-12-04 21:18 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Alex Bennee @ 2006-12-04 17:25 UTC (permalink / raw)
  To: git

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.

-- 
Alex, homepage: http://www.bennee.com/~alex/
... at least I thought I was dancing, 'til somebody stepped on my hand.
-- J. B. White

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Seeing added and removed files between two tree states
  2006-12-04 17:25 Seeing added and removed files between two tree states Alex Bennee
@ 2006-12-04 17:33 ` Shawn Pearce
  2006-12-04 21:18 ` Junio C Hamano
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Pearce @ 2006-12-04 17:33 UTC (permalink / raw)
  To: Alex Bennee; +Cc: git

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

?

-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Seeing added and removed files between two tree states
  2006-12-04 17:25 Seeing added and removed files between two tree states Alex Bennee
  2006-12-04 17:33 ` Shawn Pearce
@ 2006-12-04 21:18 ` Junio C Hamano
  1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2006-12-04 21:18 UTC (permalink / raw)
  To: Alex Bennee; +Cc: git

Alex Bennee <kernel-hacker@bennee.com> writes:

> 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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-04 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-04 17:25 Seeing added and removed files between two tree states Alex Bennee
2006-12-04 17:33 ` Shawn Pearce
2006-12-04 21:18 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox