From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS54825 147.75.192.0/21 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 92A4A1F405 for ; Fri, 9 Feb 2024 18:04:59 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=sasl header.b=vAVRhGsc; dkim-atps=neutral Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DB90B1C235BC for ; Fri, 9 Feb 2024 18:04:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 365D77F493; Fri, 9 Feb 2024 18:04:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="vAVRhGsc" Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (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 710167BB16 for ; Fri, 9 Feb 2024 18:04:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.108.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707501890; cv=none; b=UDpy8nKY2nNzzGOPkuc1llJFe271feKS8447mZfQL6Y0ZALGCPHSyTDp2w1T59kKfNd7R83eU9QPp5TaEDidJO9PJw1DKR5Ta8lEHLAHbp3je88cvOwTKbNF1kvbC138o9AXuh8gzsFZtaLP9s6BIlgwXEcXBri6V66Yth0sr9M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707501890; c=relaxed/simple; bh=glcgCtCPdyC6A7Y/6WooNoBibylBc+g4mfNhNoemx6s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=A2XJVUBudbal7jsMW1U9BX6er8llhlTtEZ4PvW/tYbC+Vfza0Aku0RplBDk9Si+uaA3xsJ+85eu+HyeBksDgunbcuVXm0isSs7R9bnhoO/DIZA7ZpNL4musa1DsRBazU8JPgsTJxhFbbcAjBJ32wbSvFh75E2yoJap2K6BrxfII= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b=vAVRhGsc; arc=none smtp.client-ip=64.147.108.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 17EDE1DA5FC; Fri, 9 Feb 2024 13:04:48 -0500 (EST) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=glcgCtCPdyC6A7Y/6WooNoBibylBc+g4mfNhNo emx6s=; b=vAVRhGsc39zG6jbN1m5I46joRISsCTTmr51nKmr/JtN3kkpm93CjzU duVzSmW8/TGNAIxg3P+4RLvteYQ+S9QRePE7i/z+UA0jXDCuFvS0aG4eXrH7hlAM yDBkqCvtf35I0Z69sq/RBMb8Bxh9vV+e++DeNonStE8lCaqnWp3Ec= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0EB311DA5FB; Fri, 9 Feb 2024 13:04:48 -0500 (EST) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.125.165.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 609ED1DA5FA; Fri, 9 Feb 2024 13:04:47 -0500 (EST) (envelope-from junio@pobox.com) From: Junio C Hamano To: "Phillip Wood via GitGitGadget" Cc: git@vger.kernel.org, Orgad Shaneh , Eric Sunshine , Phillip Wood Subject: Re: [PATCH v2] prune: mark rebase autostash and orig-head as reachable In-Reply-To: (Phillip Wood via GitGitGadget's message of "Fri, 09 Feb 2024 16:19:39 +0000") References: Date: Fri, 09 Feb 2024 10:04:46 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: B607D710-C775-11EE-9EAC-78DCEB2EC81B-77302942!pb-smtp1.pobox.com "Phillip Wood via GitGitGadget" writes: > +static void add_rebase_files(struct rev_info *revs) > +{ > + struct strbuf buf = STRBUF_INIT; > + size_t len; > + const char *path[] = { > + "rebase-apply/autostash", > + "rebase-apply/orig-head", > + "rebase-merge/autostash", > + "rebase-merge/orig-head", > + }; Yuck. Having this table here makes the sequencer subsystem even less maintainable than it already is. I wonder if we can at least somehow share some of these? #leftoverbits. Thanks.