summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-diff.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-diff.sh b/git-diff.sh
index 4812ae4c1f..b7792a2db3 100755
--- a/git-diff.sh
+++ b/git-diff.sh
@@ -22,13 +22,13 @@ case "$rev" in
esac
esac
-# If we do not have --name-status, --name-only nor -r, default to -p.
+# If we do not have --name-status, --name-only nor -r, default to --cc.
# If we do not have -B nor -C, default to -M.
case " $flags " in
*" '--name-status' "* | *" '--name-only' "* | *" '-r' "* )
;;
*)
- flags="$flags'-p' " ;;
+ flags="$flags'--cc' " ;;
esac
case " $flags " in
*" '-"[BCM]* | *" '--find-copies-harder' "*)