Skip to content

Commit

Permalink
git-diff: -p disables rename detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Junio C Hamano committed Mar 12, 2006
1 parent 8e7f903 commit 42efbf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ case " $flags " in
flags="$flags'$cc_or_p' " ;;
esac

# If we do not have -B nor -C, default to -M.
# If we do not have -B, -C, -r, nor -p, default to -M.
case " $flags " in
*" '-"[BCM]* | *" '--find-copies-harder' "*)
*" '-"[BCMrp]* | *" '--find-copies-harder' "*)
;; # something like -M50.
*)
flags="$flags'-M' " ;;
Expand Down

0 comments on commit 42efbf6

Please sign in to comment.