]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ref-filter: add tests for deltabase
authorOlga Telezhnaya <olyatelezhnaya@gmail.com>
Mon, 24 Dec 2018 13:24:30 +0000 (13:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Dec 2018 18:08:11 +0000 (10:08 -0800)
Test new formatting option deltabase.

Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6300-for-each-ref.sh

index 097fdf21fe1964f888c8c49147cf869ae2a15278..0ffd63071392eba0cd960ddf50d45bc0b5f1d5ea 100755 (executable)
@@ -84,6 +84,7 @@ test_atom head push:strip=-1 master
 test_atom head objecttype commit
 test_atom head objectsize 171
 test_atom head objectsize:disk 138
+test_atom head deltabase 0000000000000000000000000000000000000000
 test_atom head objectname $(git rev-parse refs/heads/master)
 test_atom head objectname:short $(git rev-parse --short refs/heads/master)
 test_atom head objectname:short=1 $(git rev-parse --short=1 refs/heads/master)
@@ -127,6 +128,8 @@ test_atom tag objecttype tag
 test_atom tag objectsize 154
 test_atom tag objectsize:disk 138
 test_atom tag '*objectsize:disk' 138
+test_atom tag deltabase 0000000000000000000000000000000000000000
+test_atom tag '*deltabase' 0000000000000000000000000000000000000000
 test_atom tag objectname $(git rev-parse refs/tags/testtag)
 test_atom tag objectname:short $(git rev-parse --short refs/tags/testtag)
 test_atom head objectname:short=1 $(git rev-parse --short=1 refs/heads/master)