summaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-11-29 21:59:04 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-29 22:46:12 -0800
commit562051809589574576971c53c23aad93f8c395d9 (patch)
treefa10b18d1546129bf73713b64fbc4a8feae3487f /Documentation/git-add.txt
parentMerge http://www.kernel.org/pub/scm/gitk/gitk (diff)
downloadtgif-562051809589574576971c53c23aad93f8c395d9.tar.xz
git-diff: do not turn off -p/-M with any diff options.
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>
Diffstat (limited to 'Documentation/git-add.txt')
0 files changed, 0 insertions, 0 deletions