git-diff-scripton commit [PATCH] git: fix trivial warning from show_rename_copy() (e30e814)
   1#!/bin/sh
   2rev=($(git-rev-parse --revs-only "$@"))
   3flags=($(git-rev-parse --no-revs --flags "$@"))
   4files=($(git-rev-parse --no-revs --no-flags "$@"))
   5case "${#rev[*]}" in
   60)
   7        git-diff-files -M -p "$@";;
   81)
   9        git-diff-cache -M -p "$@";;
  102)
  11        begin=$(echo "${rev[1]}" | tr -d '^')
  12        end="${rev[0]}"
  13        git-diff-tree -M -p $flags $begin $end $files;;
  14*)
  15        echo "I don't understand"
  16        exit 1;;
  17esac