diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-12-22 11:27:28 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-22 11:27:28 -0800 |
commit | adb86762e5535108a9fb4ddc63d2e70cee2038a7 (patch) | |
tree | 1c2a59dba4cc71e18e1175f60f8299bb3169dbf5 /t/t6006-rev-list-format.sh | |
parent | Merge branch 'jk/follow-rename-score' (diff) | |
parent | pretty: give placeholders to reflog identity (diff) | |
download | tgif-adb86762e5535108a9fb4ddc63d2e70cee2038a7.tar.xz |
Merge branch 'jk/pretty-reglog-ent'
* jk/pretty-reglog-ent:
pretty: give placeholders to reflog identity
Diffstat (limited to 't/t6006-rev-list-format.sh')
-rwxr-xr-x | t/t6006-rev-list-format.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh index d918cc02d0..444279077e 100755 --- a/t/t6006-rev-list-format.sh +++ b/t/t6006-rev-list-format.sh @@ -267,6 +267,12 @@ test_expect_success '%gd shortens ref name' ' test_cmp expect.gd-short actual.gd-short ' +test_expect_success 'reflog identity' ' + echo "C O Mitter:committer@example.com" >expect && + git log -g -1 --format="%gn:%ge" >actual && + test_cmp expect actual +' + test_expect_success 'oneline with empty message' ' git commit -m "dummy" --allow-empty && git commit -m "dummy" --allow-empty && |