blob: b4b97358283306b64ea6d0c3b041ae9e053a4411 [file]
#!/bin/sh
test_description='git refs optimize should not change the branch semantic
This test runs git refs optimize 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_STORAGE_FORMAT=files
export GIT_TEST_DEFAULT_REF_STORAGE_FORMAT
. ./test-lib.sh
pack_refs='refs optimize'
. "$TEST_DIRECTORY"/pack-refs-tests.sh
test_done