mirror of
https://github.com/git/git.git
synced 2026-03-23 15:10:07 +01:00
When the user gives a diff option (e.g. --cached) to "git diff", we turned off the built-in default option -p, which is usually not what user wants to see. This commit makes lack of --name-status, --name-only nor -r to add -p, and lack of -B*, -C* nor -M* to add -M to the flags given to the underlying diff. Signed-off-by: Junio C Hamano <junkio@cox.net>
1.3 KiB
Executable File
1.3 KiB
Executable File