interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t1463-refs-optimize.sh

19 lines · 459 bytes Raw Blame History
1#!/bin/sh
2
3test_description='git refs optimize should not change the branch semantic
4
5This test runs git refs optimize and git show-ref and checks that the branch
6semantic is still the same.
7'
8
9GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
10export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
11GIT_TEST_DEFAULT_REF_STORAGE_FORMAT=files
12export GIT_TEST_DEFAULT_REF_STORAGE_FORMAT
13
14. ./test-lib.sh
15
16pack_refs='refs optimize'
17. "$TEST_DIRECTORY"/pack-refs-tests.sh
18
19test_done