author | Adam Monsen <haircut@gmail.com> | |
Tue, 8 Mar 2011 20:51:37 +0000 (12:51 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 8 Mar 2011 22:44:07 +0000 (14:44 -0800) | ||
commit | e0adb84cc65a399629fbb1b2d0e5764330bf4f39 | |
tree | 586b4313dbc490d6e1a5eeba8b0435b4897e48ec | tree | snapshot |
parent | 841d81180e6754b18559220087decf01f504b203 | commit | diff |
diff format documentation: clarify --cc and -c
The description was unclear if -c or --cc was the default (--cc is for
some commands), and incorrectly implied that the default applies to
all the diff generating commands.
Most importantly, "log" does not default to "--cc" (it defaults to
"--no-merges") and "log -p" obeys the user's wish to see non-combined
format. Only "diff" (during merge and three-blob comparison) and
"show" use --cc as the default.
Signed-off-by: Adam Monsen <haircut@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The description was unclear if -c or --cc was the default (--cc is for
some commands), and incorrectly implied that the default applies to
all the diff generating commands.
Most importantly, "log" does not default to "--cc" (it defaults to
"--no-merges") and "log -p" obeys the user's wish to see non-combined
format. Only "diff" (during merge and three-blob comparison) and
"show" use --cc as the default.
Signed-off-by: Adam Monsen <haircut@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-generate-patch.txt | diff | blob | history |