🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #3014

[PATCH v2 01/20] t9300: move 'fastimport.unpackLimit' to the required test

#3014
From: Karthik Nayak
Date: Thu, 12 Nov 2026 17:34
40 lines
12960 bytes
The 'empty stream succeeds' test sets 'fastimport.unpackLimit' to '0',
so that the following imports write packs for the 'verify pack' tests
to check. The test itself doesn't need it. A following commit makes it
run in its own repository, where the setting would no longer reach the
tests after it.

Move the configuration to 'A: create pack from stdin', the first test
which needs it. The configuration must persist for the 'verify pack'
tests of the following series, so set it with 'git config' and not with
'test_config'.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
---
 t/t9300-fast-import.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh
index 15f511fb6b..4cffe43a71 100755
--- a/t/t9300-fast-import.sh
+++ b/t/t9300-fast-import.sh
@@ -38,7 +38,6 @@ echo "$@"'
 ###
 
 test_expect_success 'empty stream succeeds' '
-	git config fastimport.unpackLimit 0 &&
 	git fast-import </dev/null
 '
 
@@ -47,6 +46,7 @@ test_expect_success 'truncated stream complains' '
 '
 
 test_expect_success 'A: create pack from stdin' '
+	git config fastimport.unpackLimit 0 &&
 	test_tick &&
 	cat >input <<-INPUT_END &&
 	blob

-- 
2.56.GIT
Technical Details
Message-ID: <20261112-kn-fast-import-tests-1-v2-1-b8c3a0ab27e8@gmail.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!git+bounces-75291-linux-kernel-git=dewy.ru
References: <20261112-kn-fast-import-tests-1-v2-0-b8c3a0ab27e8@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!git+bounces-75291-linux-kernel-git=dewy.ru
From: karthik.188@gmail.com (Karthik Nayak)
Newsgroups: linux.kernel.git
Subject: [PATCH v2 01/20] t9300: move 'fastimport.unpackLimit' to the
 required test
Date: Thu, 12 Nov 2026 18:34:01 +0100
Organization: Usenet Network
Message-ID: <20261112-kn-fast-import-tests-1-v2-1-b8c3a0ab27e8@gmail.com>
References: <20261112-kn-fast-import-tests-1-v2-0-b8c3a0ab27e8@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1149600"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:21heJ/ydsw0WrCKwNc+DL4mZeqU= sha256:MthGW2LCylCMvCB+gBfPT6jqATSejJQpz1XKikXnIWQ=
	sha1:WmxIDFLED6II1l67tXzDiKr0y8M= sha256:xZ/uiVM2B7lMlQZ1iKFISL6JAYt3zfb6qk01JkyRbO4=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id C4645114353; Thu, 12 Nov 2026 21:33:19 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Status: No, score=-1.949 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 82XvotF_sPcp;
	Thu, 12 Nov 2026 21:33:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-75291-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id ED1E01142A3; Thu, 12 Nov 2026 21:33:06 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 2FEAC185D9E; Thu, 12 Nov 2026 17:36:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794504856;
	b=j3OMGdPVhFrKVouuHp/OrXF23gxm52MvUHtY2a7vw7GbpRpD4uUPh7zCN3d1DL+EdxYZ
	 ilc9d5Bwtk40MPhG9L/jrypnRN4XTeVsym+lVV1WIX7Tvn3Uhjq2hWtoCp/n5jE8hCjQA
	 7vWaDhHCD0aXV4btf+bkzBU9FDD43ymy9hD3f3SQVsOpSQth8eOIsaXpGsjkZZ3DjKhGX
	 poMjoGAbhqJUzw5syAiCu4ehgzKUiwDxyJ7Sb2QgkVoVpVIjZAICWmwlHPSa9WtN5SsXr
	 I7sMSolnhMXVnCMOhFz13nwYyrbs/JL4WufrrXszyL43PYS0bSxY3hieBdFGqc7V/Pg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794504856;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:From:Date:Subject:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Type:Content-Transfer-Encoding:Message-Id:References:
	 In-Reply-To:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key;
	bh=X3xSC2QCiKDc3U2xYjOKBtTviK++aIz6bQzdda0oz50=;
	b=fMeXx3pHZEu1MHcH6OO6S4UA23pA4i1TDx1oYRqT6eusyHTTtxBH+efE6xPpS3IG4f++
	 ms5R76Oxhqf/I6AWW3tGU6e9tN5LOY8X8yqjD6Qk/wnKIFldJFEK0mLB54bhZMp68O6Vu
	 kKEHPmS6dsWOAmZvBNX/VmtK+HfRpTs9OZBk8WHCTiOkmGPQtMhg6pEKscl1rAU/VJ8Sn
	 sdIskcYs3bhmD1hVzRWBF6vGPfneWIOzKMwrz8Yrls9bbROMCEtb1zLWHJdOdJK4kbdgl
	 ZNECnHBfK7hJ1c8cej/IwSx6j8E3N5gSr1iRffbbiclfVHC4RtVUB3Tcdp18d4/8bUA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=zMSTZFD2;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 5254560A2638;
	Thu, 12 Nov 2026 17:34:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=zMSTZFD2
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.48
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794504855;
	b=jKwcKgDnfzzZkK1Q6HOaWpJSUOn0XVCd9G4/kSi9DwEzra2GPZ6usKsI/eUYiPPhcQq8
	 smkpJw6npYS6zB6OCX8oZ4QbqNJh7Qm0IoroE2NqVeoa/9jISxP1tMTNAWBe2pINtGLRv
	 oOfQrkYAuU9In4UypQgXMYEKK2RkRPCCTBKArMvJhf7wLDDZqHIIt6dW5D+HWO2057naK
	 IqMnsZ4k1gjY1NqMgqkgI5tjbJhLtayy2UthIsk6Ca5FGTEq7oOsztkJHxl465AlN49pS
	 6UAPKdbFNjlvRvOgBDBOsWGKv7CUy+a02OD1aTn/zLKRACrq3oKwXchdAvb4e1V5B5A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794504855;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:Date:Subject:
	 MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:
	 References:In-Reply-To:To:Cc:X-Mailer:X-Developer-Signature:
	 X-Developer-Key;
	bh=X3xSC2QCiKDc3U2xYjOKBtTviK++aIz6bQzdda0oz50=;
	b=MuCG/TQ0KgaF46EqaqxGCkJE06hTO0pAMMdm6KUEryyRDU1BTu+yv9SQUQHRqZ0dZLvJ
	 ovy3QHiA/E6166gLbbi+TFf99klmcGfIxpg/QVQbjfQAwYNc+OpoAcbhSnAVdoIYsZo5O
	 cs9nTox6Rw1TLjJ5mp45KYsTE89R1VQzsaeJmXac0doeLxru9pRA8xeGovWiVLU9MZOmF
	 AN0Mh3BM/UOfEpeXAqy32iDP2FU3CSCjUo8Ej5+CIoSL99a+MBMkfuqDnXkVU3Wug5+TL
	 Lmm6UwGhDYxWeMCS6ec6K4z1bGB6eDkTIl5Nj20OIMdObLDy/tcrfgIe2gYwUqOiIWw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=zMSTZFD2;
	arc=none smtp.remote-ip=209.85.221.48
X-Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 249C660A2631
	for <git@vger.kernel.org>; Thu, 12 Nov 2026 17:34:15 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 249C660A2631
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-490c3ae81d3so5300f8f.2
        for <git@vger.kernel.org>; Thu, 12 Nov 2026 09:34:14 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1794504853; x=1795109653; darn=vger.kernel.org;
        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
         :content-type:mime-version:subject:date:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=X3xSC2QCiKDc3U2xYjOKBtTviK++aIz6bQzdda0oz50=;
        b=zMSTZFD2G2g49ERGy+ZF3nIkFk2SFMa6NjFBmmExy3Z51BczksApu15yjxdo0YCA8F
         A/7Q3BfLKZ7S+sK6nUrRBq2cybHTKL/JPPtxdamrLxvVAhs7TyNbwGBpcZbr9gdf93Vf
         Vq0trtJU+GcHAfkpqBCV3nSSENPq9uVKcgdMKKgwVZa4ng2pR06J3mjTARHr7iM5Co0Q
         5FIl2XIP/j6XRfBrLQZ/Yy2y4KXNrJHlkhv4cxmtNtZsiecLrMeqIgFsdcCUmLu9JtxJ
         k9A+IUZ5uk3/kCVJBrjMtmwS4+b7R8zAbhkYUQVSJgopfxMjShuGpcJoRryZywE0FA36
         UaCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1794504853; x=1795109653;
        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
         :content-type:mime-version:subject:date:from:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=X3xSC2QCiKDc3U2xYjOKBtTviK++aIz6bQzdda0oz50=;
        b=xj8XauyY16C+bxZPhmB72c8UoC3FHNZ11pzndTHvjGAHV7SG+dQUM+0KNMXFoClBe7
         3rhFz/1xorXI+z+mw2MEeFvORe/Nana8aHOBCFw69eXh8jsyoK2zohr28W83DUW6glzO
         oktwEqAXt7oxH2G3hN1W580RaaZqQC1ysyWeUq67FqZqlL3fP4/dRtEXX9/dBuwLFA37
         moCXKgKJW+a/Z2qCYZKpQuf5LYasU7v5ZhYO/pKb+/Hb/oFwize9zY0PquGDTB3PQ0CN
         u/yXknaeRALTHcaInFVjFjhQrPedVHxsuyQkGsdh+Gi2fOEnWE4q8T7pbtMtQ7hgPaNq
         rvew==
X-Gm-Message-State: APuU4Z9ucL8bgCyGbIU2EY9eSyrMNE4QKhUEGpzaXzeImObQueTsGZsA
	wxrusnPqKQBqn2UdAhKjMzczdAVDtQjV6nOYqh9qv6gSancFGI9RSJM0emlqXA==
X-Gm-Gg: AYBFou1zqOGUDMixiLs8OPvnzfDgoT828gT5ru0PoTbGsHpwdtkI+g7z7vWQ2R0iWRg
	4mYvzLMDV6YsTZLq0aR3E/rKnXLLSTD6Sy8Zu5/sgQm7imew1rtZK72mmmPYlOxRCtmH0GZW6Bz
	K870ypUbYKkVaXbi17sXgHp90/od2/LyrMxhnMyYBmrF7zHqtCrEQu1DZbcaz+YKc9aQEkxw4QB
	F4bmlQkgOLub9Eu2r8D9YgVlvxik/oYdFqsyOELhFEQYzk1+5etxYm3bdl5b43BszdPATC+K3tm
	ipeowTPphN0Ht09mr2or2jCN6hnFqxjjVjT8C/RZfBcof63arutsFDym0FkwUu5bFxL6Yl8keuD
	QQ32jrV2FfkwstvuOqe9MYdMMVfKzUuiPc1q/iMFFsFoOJvk7B1VMtmoT7oCvqtlpKUb5TbxjjN
	Hbfiz1vRRUBfEAEDKlErELdeACpF7gJNi8t6syiE2QHk0Vu9mTW3hr5+p+x+7PyBRJyWZ4YAI2x
	C15PsbFBJR37JjI5DJn0J4k2RKg/r2pe6ihDWE2obYu5gA95MQvHByuL6xbYAUea5AyyhxN8bFn
	b7VsYsrrQaECPXyQA3G7dDFI8L/8/jp4m19llUv6I/EiVxyv4aUrC96bYZj2coWl4y37
X-Received: by 2002:a05:6000:98c:b0:48e:b1a:fa6 with SMTP id ffacd0b85a97d-49c727d1d55mr126318f8f.40.1794504853555;
        Thu, 12 Nov 2026 09:34:13 -0800 (PST)
X-Received: from [127.0.0.2] ([2a02:8109:d906:4e00:cb2b:22fd:d791:9595])
        by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-49c604ee47dsm345988f8f.38.2026.11.12.09.34.12
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 12 Nov 2026 09:34:13 -0800 (PST)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261112-kn-fast-import-tests-1-v2-0-b8c3a0ab27e8@gmail.com>
X-Cc: Karthik Nayak <karthik.188@gmail.com>, gitster@pobox.com
X-Mailer: b4 0.15.2
X-Developer-Signature: v=1; a=openpgp-sha256; l=1246; i=karthik.188@gmail.com;
 h=from:subject:message-id; bh=CgE3aK1+0RAYiTwT5y0fv1oz2ZoMFUEW11hJVTjLwGc=;
 b=owJ4nAHtARL+kA0DAAoBPtWfJI5GjH8ByyZiAGr1+JBz7rDapafmSTeIhFeWm8D90acE9BQn5
 pjScPTa6U2CD4kBswQAAQoAHRYhBFfOTH9jdXEPy2XGBj7VnySORox/BQJq9fiQAAoJED7VnySO
 Rox/BPML/jG1z74oWKe0eRSvpAqVJSjf/NsKNwi/h9UsIxzsE3MWXxZfS2TjS1jrigKtGQE2vgG
 8rvnrXH0ax8DlPdIsyh+IWjb3+WgNlDHBsdBm2ZiAOFY7E8pqjVuaanOKb44+hB95GyzCWLC9IW
 T9X4sDjKPOIL5UAbDzUtRki7FBgeuSi1833Xszs4FXBu72J6IS8ODKxvj0k1jrehHJwzJ7ftdbJ
 sZ42D99dzC4zcdpfSCFTTHQYnQBYJCS3pOM34YhIAA88dQ4dlqE95tnpVeHZi/mmef6hVpqBD+w
 2vQhCMncVnjuyXtoaSekpQjXEpLANVWrC31XcxM75rU6VR0mt9xhI5vv7OwaKbRKnIz3SJGQM3N
 4r1TRaS/X+LQRymIG60rrtsqogoCdNsECkQBbtfdBkhQIJvNDwKU/nAx0KIS3zDvV10gjV040h3
 U+HDwQbgZSpkSpEp5YZLA9fsBZ9yX6gGqoTOs8BcE2ZSEUVPK0QAFXVDnVzyY8oIx/gEnplrcN5
 3I=
X-Developer-Key: i=karthik.188@gmail.com; a=openpgp;
 fpr=57CE4C7F6375710FCB65C6063ED59F248E468C7F