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/t0601-reffiles-pack-refs.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 / t0601-reffiles-pack-refs.sh` 22 lines ยท 503 bytes Raw Blame History 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_STORAGE_FORMAT=files 16 export GIT_TEST_DEFAULT_REF_STORAGE_FORMAT 17 18 . ./test-lib.sh 19 20 . "$TEST_DIRECTORY"/pack-refs-tests.sh 21 22 test_done