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