Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t1463-refs-optimize.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t1463-refs-optimize.sh` 19 lines ยท 459 bytes Raw Blame History 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_STORAGE_FORMAT=files 12 export GIT_TEST_DEFAULT_REF_STORAGE_FORMAT 13 14 . ./test-lib.sh 15 16 pack_refs='refs optimize' 17 . "$TEST_DIRECTORY"/pack-refs-tests.sh 18 19 test_done