squash! more fixes to support container/root mount action
authorShane Jaroch <chown_tee@proton.me>
Sat, 17 Jan 2026 13:04:10 +0000 (08:04 -0500)
committerShane Jaroch <chown_tee@proton.me>
Sat, 17 Jan 2026 13:04:29 +0000 (08:04 -0500)
hopefully fixed?

tests/system-test-multikey.sh
tests/system-test-repack.sh
tests/system-test.sh

index 5bada03f37a3e5d6c24280596a386b89fab387de..06e6ef32b4b278d2a9a07c361403399dc6847092 100755 (executable)
@@ -167,7 +167,7 @@ print_info "Step 2: Creating source repository..."
 {
        git init -- "${tempdir}/first"
        cd "${tempdir}/first"
-       git checkout -b "${default_branch}"
+       git checkout -B "${default_branch}"
        for ((i = 0; i < num_commits; ++i)); do
                for ((j = 0; j < files_per_commit; ++j)); do
                        file_index=$((i * files_per_commit + j))
index c43c2529a976b6c29afbb0a8b5b6f0c74cb108c4..58ffb842733132e968a925115057a6ce70077e39 100755 (executable)
@@ -113,7 +113,7 @@ print_info "Step 2: Creating repository with large random files..."
 {
        git init -- "${tempdir}/first"
        cd "${tempdir}/first"
-       git checkout -b "${default_branch}"
+       git checkout -B "${default_branch}"
        for ((i = 0; i < num_commits; ++i)); do
                for ((j = 0; j < files_per_commit; ++j)); do
                        file_index=$((i * files_per_commit + j))
index 43f37d301e2228045b13363827dc71fd2e4b78a0..2a3cf01705cebd735029ab5ce62baba1afbba623 100755 (executable)
@@ -145,6 +145,7 @@ print_info "Step 2: Creating new repository with random data:"
 {
     git init -- "${tempdir}/first"
     cd "${tempdir}/first"
+    git checkout -B "${default_branch}"
     for ((i = 0; i < num_commits; ++i)); do
         for ((j = 0; j < files_per_commit; ++j)); do
             file_index=$(( i * files_per_commit + j ))