diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-14 16:32:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-14 16:32:18 +0100 |
commit | 6cf0a9e9fc90be167c3b2e0cda1ec67909c89ca7 (patch) | |
tree | 9304a2af6e54ba14d1f80a5524429a45800e2e42 /t | |
parent | Merge branch 'as/api-allocation-doc' into maint (diff) | |
parent | graph.c: infinite loop in git whatchanged --graph -m (diff) | |
download | git-6cf0a9e9fc90be167c3b2e0cda1ec67909c89ca7.tar.xz git-6cf0a9e9fc90be167c3b2e0cda1ec67909c89ca7.zip |
Merge branch 'mk/maint-graph-infinity-loop' into maint
* mk/maint-graph-infinity-loop:
graph.c: infinite loop in git whatchanged --graph -m
Diffstat (limited to 't')
-rwxr-xr-x | t/t4202-log.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t4202-log.sh b/t/t4202-log.sh index a343bf6c62..fa686b887d 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh @@ -280,6 +280,16 @@ test_expect_success 'log --graph with merge' ' test_cmp expect actual ' +test_expect_success 'log --raw --graph -m with merge' ' + git log --raw --graph --oneline -m master | head -n 500 >actual && + grep "initial" actual +' + +test_expect_success 'diff-tree --graph' ' + git diff-tree --graph master^ | head -n 500 >actual && + grep "one" actual +' + cat > expect <<\EOF * commit master |\ Merge: A B |