2 . git-sh-setup-script || die "Not a git archive"
4 rev=($(git-rev-parse --revs-only "$@"))
5 flags=($(git-rev-parse --no-revs --flags "$@"))
6 files=($(git-rev-parse --no-revs --no-flags "$@"))
9 git-diff-files -M -p "$@";;
11 git-diff-cache -M -p "$@";;
13 begin=$(echo "${rev[1]}" | tr -d '^')
15 git-diff-tree -M -p $flags $begin $end $files;;
17 echo "I don't understand"