Look at the commit message:
commit 0e1329e551a5700614a2a34d8101e92fd9f2cad6 (HEAD, master)
Merge: fc17405 ee2de56
Author: Tilman Vogel <email@email>
Date: Tue Feb 22 00:27:17 2011 +0100
Merge branch 'testing' into master
notice the line:
Merge: fc17405 ee2de56
take those two commit ids and reverse them. so in order get the diff that you want, you would do:
git diff ee2de56..fc17405
to show just the names of the changed files:
git diff --name-only ee2de56..fc17405
and to extract them, you can add this to your gitconfig:
exportfiles = !sh -c 'git diff $0 --name-only | "while read files; do mkdir -p "$1/$(dirname $files)"; cp -vf $files $1/$(dirname $files); done"'
then use it by doing:
git exportfiles ee2de56..fc17405 /c/temp/myproject
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…