git-diff-scripton commit [PATCH] Finish initial cut of git-pack-object/git-unpack-object pair. (8ee378a)
   1#!/bin/sh
   2rev=($(git-rev-parse --revs-only "$@"))
   3flags=($(git-rev-parse --no-revs "$@"))
   4case "${#rev[*]}" in
   50)
   6        git-diff-files -M -p "$@";;
   71)
   8        git-diff-cache -M -p "$@";;
   92)
  10        begin=$(echo "${rev[1]}" | tr -d '^')
  11        end="${rev[0]}"
  12        git-diff-tree -M -p $flags $begin $end;;
  13*)
  14        echo "I don't understand"
  15        exit 1;;
  16esac