git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/4] t5550: require REFFILES

From
Han-Wen Nienhuys via GitGitGadget <gitgitgadget@gmail.com>
Date
Dec 22, 2021, 10:59 UTC
Message-ID
<36758f8cda3da4a53cbdff3af2eac3a60aadd692.1640170784.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.1168.git.git.1640170784.gitgitgadget@gmail.com>
From: Han-Wen Nienhuys <hanwen@google.com>

The dumb HTTP protocol exposes ref storage details as part of the protocol, so it only works with the FILES refstorage backend

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
---
 t/t5550-http-fetch-dumb.sh | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/t/t5550-http-fetch-dumb.sh b/t/t5550-http-fetch-dumb.sh
index 6d9142afc3b..259203926a9 100755
--- a/t/t5550-http-fetch-dumb.sh
+++ b/t/t5550-http-fetch-dumb.sh
@@ -5,6 +5,13 @@ GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
 . ./test-lib.sh
+
+if test_have_prereq !REFFILES
+then
+	skip_all='skipping test; dumb HTTP protocol not supported with reftable.'
+	test_done
+fi
+
 . "$TEST_DIRECTORY"/lib-httpd.sh
 start_httpd
 
-- 
gitgitgadget
Previous: Han-Wen NienhuysNext: Han-Wen Nienhuys via GitGitGadget
Message 5 of 9 in “Reftable test fixes 20211221”
  1. 0/4 Reftable test fixes 20211221Han-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  2. 1/4 t5540: require REFFILESHan-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  3. Bagas SanjayaDec 24, 2021
  4. Han-Wen NienhuysJan 10, 2022
  5. 2/4 t5550: require REFFILESHan-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  6. 3/4 t7004: create separate tags for different testsHan-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  7. Junio C HamanoDec 22, 2021
  8. 4/4 t7004: use "test-tool ref-store" for reflog inspectionHan-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  9. Junio C HamanoDec 22, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.