Skip to content

Commit f4ee22b

Browse files
telezhnayagitster
authored andcommitted
ref-filter: add tests for objectsize:disk
Test new formatting atom. Signed-off-by: Olga Telezhnaia <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5305a55 commit f4ee22b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/t6300-for-each-ref.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ test_atom head push:strip=1 remotes/myfork/master
8383
test_atom head push:strip=-1 master
8484
test_atom head objecttype commit
8585
test_atom head objectsize 171
86+
test_atom head objectsize:disk 138
8687
test_atom head objectname $(git rev-parse refs/heads/master)
8788
test_atom head objectname:short $(git rev-parse --short refs/heads/master)
8889
test_atom head objectname:short=1 $(git rev-parse --short=1 refs/heads/master)
@@ -124,6 +125,8 @@ test_atom tag upstream ''
124125
test_atom tag push ''
125126
test_atom tag objecttype tag
126127
test_atom tag objectsize 154
128+
test_atom tag objectsize:disk 138
129+
test_atom tag '*objectsize:disk' 138
127130
test_atom tag objectname $(git rev-parse refs/tags/testtag)
128131
test_atom tag objectname:short $(git rev-parse --short refs/tags/testtag)
129132
test_atom head objectname:short=1 $(git rev-parse --short=1 refs/heads/master)

0 commit comments

Comments
 (0)