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

[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