diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-20 14:36:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-20 15:03:57 -0700 |
commit | c7eaf8b4c3085fd2db2a47b83b828e363dcf5fd0 (patch) | |
tree | 6a0dfec737f6e28818593b4bef40b85306f02b80 /t/t9156-git-svn-fetch-deleted-tag-2.sh | |
parent | log: rename "tweak" helpers (diff) | |
download | tgif-c7eaf8b4c3085fd2db2a47b83b828e363dcf5fd0.tar.xz |
log: when --cc is given, default to -p unless told otherwise
The "--cc" option to "git log" is clearly a request to show some
sort of combined diff (be it --patch or --raw), but traditionally
we required the command line to explicitly ask for "git log -p --cc".
Teach the command line parser to treat a lone "--cc" as if the user
specified "-p --cc". Formats that do ask for other forms of diff
output, e.g. "log --raw --cc", are not overriden.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9156-git-svn-fetch-deleted-tag-2.sh')
0 files changed, 0 insertions, 0 deletions