mirror of
https://github.com/git/git.git
synced 2026-09-30 18:16:14 +02:00
With the same reasoning as for all the other environment variables, rename the GIT_TEST_DEFAULT_REF_FORMAT environment variable to GIT_TEST_DEFAULT_REF_STORAGE_FORMAT. Note that in this case, the old name is not retained for backwards compatibility as this is only running in the context of tests anyway. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
20 lines
459 B
Bash
Executable File
20 lines
459 B
Bash
Executable 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
|