X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-diff-script;h=673853b9ce3a5200c0085f33d1e41f12cf18eb0c;hb=f79b65aa65b7697a1cae0f895061ce822f410c5d;hp=d70e8b9f2961fb5cbe53d473af8f2c1c8c1024d4;hpb=940c1bb0181cb20454bf3573134175f86983a0ce;p=git.git diff --git a/git-diff-script b/git-diff-script index d70e8b9f..673853b9 100755 --- a/git-diff-script +++ b/git-diff-script @@ -3,13 +3,13 @@ rev=($(git-rev-parse --revs-only "$@")) flags=($(git-rev-parse --no-revs "$@")) case "${#rev[*]}" in 0) - git-diff-files -p "$@";; + git-diff-files -M -p "$@";; 1) - git-diff-cache -p "$@";; + git-diff-cache -M -p "$@";; 2) begin=$(echo "${rev[1]}" | tr -d '^') end="${rev[0]}" - git-diff-tree -p $flags $begin $end;; + git-diff-tree -M -p $flags $begin $end;; *) echo "I don't understand" exit 1;;