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

[PATCH 2/2] t1410: mark bufsize boundary test as REFFILES

From
Han-Wen Nienhuys via GitGitGadget <gitgitgadget@gmail.com>
Date
Feb 9, 2022, 11:29 UTC
Message-ID
<fd57cd70862f7b6cdec812e300d0f21d44b6f0be.1644406180.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.1213.git.git.1644406180.gitgitgadget@gmail.com>
From: Han-Wen Nienhuys <hanwen@google.com>

This test fiddles with files under .git/logs to recreate a condition that is unlikely to warrant special attention under reftable, as reflog blocks are zlib compressed.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
---
 t/t1410-reflog.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh
index 36f6693d9d3..68f69bb5431 100755
--- a/t/t1410-reflog.sh
+++ b/t/t1410-reflog.sh
@@ -341,7 +341,7 @@ test_expect_success 'stale dirs do not cause d/f conflicts (reflogs off)' '
 # Each line is 114 characters, so we need 75 to still have a few before the
 # last 8K. The 89-character padding on the final entry lines up our
 # newline exactly.
-test_expect_success SHA1 'parsing reverse reflogs at BUFSIZ boundaries' '
+test_expect_success REFFILES,SHA1 'parsing reverse reflogs at BUFSIZ boundaries' '
 	git checkout -b reflogskip &&
 	zf=$(test_oid zero_2) &&
 	ident="abc <xyz> 0000000001 +0000" &&
-- 
gitgitgadget
Previous: Han-Wen Nienhuys via GitGitGadgetNext: Han-Wen Nienhuys via GitGitGadget
Message 2 of 3 in “reftable related tweaks to t1410”
  1. 0/2 reftable related tweaks to t1410Han-Wen Nienhuys via GitGitGadget, Feb 9, 2022
  2. 2/2 t1410: mark bufsize boundary test as REFFILESHan-Wen Nienhuys via GitGitGadget, Feb 9, 2022
  3. 1/2 t1410: use test-tool ref-store to inspect reflogsHan-Wen Nienhuys via GitGitGadget, Feb 9, 2022

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.