2 rev=($
(git-rev-parse
--revs-only "$@")) ||
exit
3 flags
=($
(git-rev-parse
--no-revs --flags "$@"))
4 files
=($
(git-rev-parse
--no-revs --no-flags "$@"))
7 git-diff-files
-M -p "$@";;
9 git-diff-cache
-M -p "$@";;
11 begin
=$
(echo "${rev[1]}" |
tr -d '^')
13 git-diff-tree
-M -p $flags $begin $end $files;;
15 echo "I don't understand"