diff options
| author | Junio C Hamano <gitster@pobox.com> | 2010-03-24 16:25:39 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-03-24 16:25:39 -0700 |
| commit | 797d44343c831680aeae3392259fcadeb178bf61 (patch) | |
| tree | 6639bf5dfb12eea0a67bd3b3323e3cabd79bc58e /t/t4013/diff.show_-c_master | |
| parent | 954f7cfdac48b8d9fe91c29ecfa44ac0c639867c (diff) | |
| parent | 2bf6587349e31b582dae47954b1a334052230e28 (diff) | |
| download | git-797d44343c831680aeae3392259fcadeb178bf61.tar.gz | |
Merge branch 'pb/log-first-parent-p-m'
* pb/log-first-parent-p-m:
show --first-parent/-m: do not default to --cc
show -c: show patch text
revision: introduce setup_revision_opt
t4013: add tests for log -p -m --first-parent
git log -p -m: document -m and honor --first-parent
Diffstat (limited to 't/t4013/diff.show_-c_master')
| -rw-r--r-- | t/t4013/diff.show_-c_master | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/t/t4013/diff.show_-c_master b/t/t4013/diff.show_-c_master new file mode 100644 index 0000000000..81aba8da96 --- /dev/null +++ b/t/t4013/diff.show_-c_master @@ -0,0 +1,36 @@ +$ git show -c master +commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 +Merge: 9a6d494 c7a2ab9 +Author: A U Thor <author@example.com> +Date: Mon Jun 26 00:04:00 2006 +0000 + + Merge branch 'side' + +diff --combined dir/sub +index cead32e,7289e35..992913c +--- a/dir/sub ++++ b/dir/sub +@@@ -1,6 -1,4 +1,8 @@@ + A + B + +C + +D + +E + +F ++ 1 ++ 2 +diff --combined file0 +index b414108,f4615da..10a8a9f +--- a/file0 ++++ b/file0 +@@@ -1,6 -1,6 +1,9 @@@ + 1 + 2 + 3 + +4 + +5 + +6 ++ A ++ B ++ C +$ |
