commit - 18441876c29142bdeb5910e372da1200c1b7bc20
commit + d2be89b7d819e9bf53bdf5f50fcc392d61ecd976
blob - 4ae6fbc520b21e761719a82232e309e8e3747239
blob + 5d8a926f7df0fee86e5814f974307bfc7ab17039
--- regress/gotd/repo_write.sh
+++ regress/gotd/repo_write.sh
got fetch -q -r $testroot/repo-clone -l >$testroot/refs
cat <<EOF >$testroot/refs.expected
HEAD: refs/heads/main
-HEAD: $main_id
refs/heads/foo: $foo_id
refs/heads/main: $main_id
refs/heads/newbranch: $nb_id
got fetch -q -r $testroot/repo-clone -l >$testroot/refs
cat <<EOF >$testroot/refs.expected
HEAD: refs/heads/main
-HEAD: $main_id
refs/heads/main: $main_id
refs/heads/newbranch: $nb_id
refs/heads/newbranch2: $nb2_id
got fetch -q -r $testroot/repo-clone -l >$testroot/refs
cat <<EOF >$testroot/refs.expected
HEAD: refs/heads/main
-HEAD: $main_id
refs/heads/main: $main_id
refs/tags/1.0: $tag_id
EOF
got fetch -q -r $testroot/repo-clone -l >$testroot/refs
cat <<EOF >$testroot/refs.expected
HEAD: refs/heads/main
-HEAD: $main_id
refs/heads/main: $main_id
refs/tags/1.0: $tag_id
EOF
got fetch -q -r $testroot/repo-clone -l >$testroot/refs
cat <<EOF >$testroot/refs.expected
HEAD: refs/heads/main
-HEAD: $main_id
refs/heads/foo: $main_id
refs/heads/main: $main_id
refs/tags/1.0: $tag_id