[git-users] Re: how to list the file names that were renamed at some commit

2010-06-17 Thread Andrej Khitrov
When I type git diff --name-status --diff-filter=***AD*** X^ X Git
gives me all the files that were deleted or added at commit X, renamed
files are included. But git diff --name-status --diff-filter=***R***
X^ X gives no output, though allmost all files were not just deleted
or add, but renamed. At that commit X I have 927 files deleted and 926
added. And so, 926 files was renamed. How can I find that single file
that was just deleted without renaming?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: how to list the file names that were renamed at some commit

2010-06-17 Thread Andrej Khitrov
I could find the answer thanks to guys from IRC chat #git:

1) git diff --name-status -M -C [-C] --diff-filter=D X^!
2) git diff --name-status -M -C [-C] --diff-filter=A X^!
3) git diff --name-status -M -C [-C] --diff-filter=R X^!

These three commands shows what files were
1) deleted (not just renamed),
2) added (not just renamed as well)
and 3) renamed per-se
at the commit X.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.