Raw
1 #!/bin/sh
2
3 test_description='git refs optimize should not change the branch semantic
4
5 This test runs git refs optimize and git show-ref and checks that the branch
6 semantic is still the same.
7 '
8
9 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
10 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
11 GIT_TEST_DEFAULT_REF_FORMAT=files
12 export GIT_TEST_DEFAULT_REF_FORMAT
13
14 . ./test-lib.sh
15
16 pack_refs='refs optimize'
17 . "$TEST_DIRECTORY"/pack-refs-tests.sh
18
19 test_done