On Sun, 5 Feb 2006, Linus Torvalds wrote: > > You're right. The "--cc" should be in the default flags (instead of -p), > not unconditionally on the command line. In that vein, for "git diff": Linus ---- diff --git a/git-diff.sh b/git-diff.sh index 4812ae4..7b3dbe3 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' "*) - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Mon Feb 06 10:00:18 2006
This archive was generated by hypermail 2.1.8 : 2006-02-06 10:00:29 EST