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

[PATCH] t5710: fix two thinkos.

From
Junio C Hamano <junkio@cox.net>
Date
Sep 1, 2006, 00:07 UTC
Message-ID
<7vmz9k78lv.fsf@assigned-by-dhcp.cox.net>

The intention of the test seems to be to build a long chain of clones that locally borrow objects from their parents and see the system give up dereferencing long chains. There were two problems:

 (1) it did not test the right repository;
 (2) it did not build a chain long enough to trigger the limitation.

I do not think it is a good test to make sure the limitation the current implementation happens to have still exists, but that is a topic at a totally different level.

At least this fixes the broken test.
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 * Spotted this after the fix to git-fsck-objects by Linus not
   to require a valid HEAD.
 t/t5710-info-alternate.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/t/t5710-info-alternate.sh b/t/t5710-info-alternate.sh
index 2e1b48a..b9f6d96 100755
--- a/t/t5710-info-alternate.sh
+++ b/t/t5710-info-alternate.sh
@@ -58,6 +58,8 @@ test_expect_failure 'creating too deep n
 git clone -l -s D E &&
 git clone -l -s E F &&
 git clone -l -s F G &&
+git clone -l -s G H &&
+cd H &&
 test_valid_repo'
 
 cd "$base_dir"
-- 
1.4.2.g2782
Message 1 of 1 in “t5710: fix two thinkos.”
  1. t5710: fix two thinkos.Junio C Hamano, Sep 1, 2006

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.