Stick with the test-suite specific clone script for now, until clone no longer insists on the config branch (or init creates a config branch). --- test/T850-git.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/test/T850-git.sh b/test/T850-git.sh index f52dd60d..d682141f 100755 --- a/test/T850-git.sh +++ b/test/T850-git.sh @@ -3,13 +3,7 @@ test_description='"notmuch git" to save and restore tags' . $(dirname "$0")/test-lib.sh || exit 1 add_git_repos () { - # first the equivalent of "notmuch git init" (which doesn't exist yet) - git init --bare --initial-branch=master --quiet remote.git - git -C remote.git read-tree --empty - tree=$(git -C remote.git write-tree) - git -C remote.git hash-object -w /dev/null > /dev/null - commit=$(echo 'root commit' | git -C remote.git commit-tree $tree) - git -C remote.git update-ref refs/heads/master $commit + notmuch git -C remote.git -p '' init # now make a "local" repo to work on git clone --bare --quiet remote.git tags.git -- 2.35.2 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org