From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.normalmode.org (h01.normalmode.org [157.230.60.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B91503AD525 for ; Tue, 16 Jun 2026 22:26:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=157.230.60.252 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781648799; cv=none; b=I2OSAfbuArV9f4IV7UlHu1oYdcJRZwfjzpSSl3EQTrV6/5C0OoNHwRm2eAevSr7e+/XBsY2/Z/lpZzAhwdtsu7T19atLY+wp7JqQgDpGYzhrzqbNZE607rzcN9gJCAtYV3rO8KrC15p/DG2fSWQuePgHNzGh3VJhDTrjKKgTudc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781648799; c=relaxed/simple; bh=Gm9Enj5XhOua+4M2RaMw7J3/CuN0Z1O3htTB9g6rlt4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DLnqyvYIVTTd3J1+sL0GxsN8YR3QjOQ1qNqrtfpAn9UnjCQQ0XqE1l45qNi1CqYoEJRuaYT1QBhN53pSltd2d6TI+5Qx2M9xzNQkzVwpjn45OANZpXuVtxlIiQ7vctwgcSpoIVeuczpT+5JnVUEdYSHK8FlPOkSS9c3YN0l+z+E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lfurio.us; spf=pass smtp.mailfrom=lfurio.us; dkim=pass (1024-bit key) header.d=lfurio.us header.i=@lfurio.us header.b=JDBDS/ER; arc=none smtp.client-ip=157.230.60.252 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lfurio.us Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lfurio.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lfurio.us header.i=@lfurio.us header.b="JDBDS/ER" Received: by mail.normalmode.org (Postfix) with ESMTPSA id DFEAC60427; Tue, 16 Jun 2026 22:26:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lfurio.us; s=default; t=1781648798; bh=Gm9Enj5XhOua+4M2RaMw7J3/CuN0Z1O3htTB9g6rlt4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JDBDS/ERABdxhoT4uWSIn6RVs3KYQ+rLJPzEJrXajE2MpmbzCnxJo5gU9/PPBOCdL TLXYAIGl/7FXkVZrC8VGYW8vOYOQ1207sYmuCzdoDIUJBEmtDuvOwxu5rfFuZPSoSi dHiK1jK6x3DmkdSpZ4RjgqpUSW65Mv5tf6LnUPT8= From: Matt Hunter To: git@vger.kernel.org Cc: Bence Ferdinandy , Jeff King , Junio C Hamano Subject: [PATCH v2 3/7] t5510: cleanup remote in followRemoteHEAD dangling ref test Date: Tue, 16 Jun 2026 18:25:17 -0400 Message-ID: <20260616222606.1003521-4-m@lfurio.us> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260616222606.1003521-1-m@lfurio.us> References: <20260612055947.1499497-1-m@lfurio.us> <20260616222606.1003521-1-m@lfurio.us> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit A later patch will introduce a new test which closely mirrors this one. Update this test to remove the 'custom-head' remote it creates. Otherwise, the two tests will conflict with each other, as the second one to execute will fail to create this remote (which already exists, thanks to the first test). Signed-off-by: Matt Hunter --- t/t5510-fetch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh index eca9a973b5cb..43190630e714 100755 --- a/t/t5510-fetch.sh +++ b/t/t5510-fetch.sh @@ -251,6 +251,7 @@ test_expect_success 'followRemoteHEAD does not kick in with refspecs' ' ' test_expect_success 'followRemoteHEAD create does not overwrite dangling symref' ' + test_when_finished "git -C two remote remove custom-head" && git -C two remote add -m does-not-exist custom-head ../one && test_config -C two remote.custom-head.followRemoteHEAD create && git -C two fetch custom-head && -- 2.54.0