I just want to get a list of changed files between two revisions, which is simple:
git diff -–name-only commit1 commit2 > /path/to/my/file
B
zip update.zip $(git diff --name-only commit commit)