diff options
Diffstat (limited to 't/t0601-reffiles-pack-refs.sh')
| -rwxr-xr-x | t/t0601-reffiles-pack-refs.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/t/t0601-reffiles-pack-refs.sh b/t/t0601-reffiles-pack-refs.sh new file mode 100755 index 0000000000..12cf5d1dcb --- /dev/null +++ b/t/t0601-reffiles-pack-refs.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Copyright (c) 2005 Amos Waterland +# Copyright (c) 2006 Christian Couder +# + +test_description='git pack-refs should not change the branch semantic + +This test runs git pack-refs and git show-ref and checks that the branch +semantic is still the same. +' + +GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main +export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME +GIT_TEST_DEFAULT_REF_FORMAT=files +export GIT_TEST_DEFAULT_REF_FORMAT + +. ./test-lib.sh + +. "$TEST_DIRECTORY"/pack-refs-tests.sh |
