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 / 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
7test_description='git pack-refs should not change the branch semantic
8
9This test runs git pack-refs and git show-ref and checks that the branch
10semantic is still the same.
11'
12
13GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
14export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
15GIT_TEST_DEFAULT_REF_STORAGE_FORMAT=files
16export GIT_TEST_DEFAULT_REF_STORAGE_FORMAT
17
18. ./test-lib.sh
19
20. "$TEST_DIRECTORY"/pack-refs-tests.sh
21
22test_done