From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oCiZDEkR62JtdgEAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 02:22:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6F95DEkR62IaewEAauVa8A (envelope-from ) for ; Thu, 04 Aug 2022 02:22:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D6D64E378 for ; Thu, 4 Aug 2022 02:22:32 +0200 (CEST) Received: from localhost ([::1]:58584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJOdE-0006po-0N for larch@yhetil.org; Wed, 03 Aug 2022 20:22:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJOd3-0006pL-2A for help-guix@gnu.org; Wed, 03 Aug 2022 20:22:21 -0400 Received: from out2.migadu.com ([2001:41d0:2:aacc::]:23577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJOcs-0000BJ-Ib for help-guix@gnu.org; Wed, 03 Aug 2022 20:22:20 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1659572527; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cYgtPi/g9HRnUHVyEFz5loRTUEB4+EhKasqZbEBGBwc=; b=bpXoJftOj3R6cSssGY39xl95n6z2xphknMt7Ek2FIz38YHGhbeZo6UiAuP/wMU9ZfdPohG fPnUzmF27INqP1XS8TfTud3xSB1c2beLk15fiDRSx0FrMufoVb4ED6Fmh8v8ZzP5939ghE uAb5r9+lDvVPobsZZxSzuexJMQdsPTCWDblMJjBXIreNZSbegmP8C48m1u3NqyIpfPuNeD MGfhOtlQcTQyORoQzOipoDrBnRtn4hTRcb++rE1UO4VJxJy7o8ScwBkHe+SLnhqbibW9O1 0gCK7854VnUM0prRJTHLRStwFz9ZS+TgpOo9Jns1ZRq3J1UIHsVpRTLZUdSUvw== From: Kyle Meyer To: kiasoc5 Cc: help-guix@gnu.org Subject: Re: Exporting patches without prerequisite patch id In-Reply-To: <20220803035700.5fecda10@aria> References: <20220803035700.5fecda10@aria> Date: Wed, 03 Aug 2022 20:22:02 -0400 Message-ID: <87czdgq2mt.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:41d0:2:aacc::; envelope-from=kyle@kyleam.com; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659572552; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cYgtPi/g9HRnUHVyEFz5loRTUEB4+EhKasqZbEBGBwc=; b=OKTAI0TZE0widz7sOm8zSCaJJf9idLiQ0FcQHfFVN+X/94KSI58gDR1ZtzrxixtRuE886b I2OFClvbgsMQN5ZAFB88ccW9skCfL9L8IEjmuwosGLoIkW65HUl9EnAnxXzjjIPKAD4wlC VIpU6uoNWRE3fPD7Pu+6xykwSg+uv5UvsydlG0Y/Bd8Ip8pb9HgG1CMY16cb0fp4sl7BB1 oX9qP2SiYo6uLiTxrixzT5BC+Kf8JKolpjFqf3FMp9Eojt3DIkGYtUASFaP4z/lp0fbj70 RcGGbmUQHr3h+ANpjmA8Q3/8HI+UqYBrHW3PfVNOG8RwAuezQCX+a5U8nEiBuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659572552; a=rsa-sha256; cv=none; b=VP+8XIOnzswSRB9Q9Hpox2vJylvf9ozGt3J8MPuucOul6Rg3swkzsH9JgVaDxXrkVvlSjB xV5ZS09CgngqROcJjpO12MXId5akvVK9isN1tnaru/1dPsIntLK3MozoBJoew2Syi8cN0o ignURiwW24aUC+E0hWo87gUyYjJRZkTaTytvJ9EmIgBHXZXmyGAb77vvKTB2Y9xkH/rMS0 19DR6/AwU5+gExw6Fz55PRd6CJi5nqDlI2jgN5Qlbp++leorAa+RsQEdDIhJ35+pCpSYuy Jxrr3xhFlqDDy1KFwoYwMtPQcPGtd3doMTeWdJ9HLaiR8R12w7hOPiEMsS9+Ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=bpXoJftO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=bpXoJftO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D6D64E378 X-Spam-Score: -1.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: kJM6K8vfMVFx kiasoc5 writes: > I have some commits on my local guix repo like this: > > (master) HEAD -> A -> B -> C > > When I do `git format-patch -3 --base=auto` I get prerequisite patch > ids in some of the patches. But I want to each patch to depend only on > HEAD. In other words I want to export patches like so: > > HEAD -> A > HEAD -> B > HEAD -> C > > How do I do this? `git-format-patch --base` doesn't support lying about the state by leaving out the prerequisite patch IDs, as far as I know. If you have a string of commits that you want to post as single patches where only base-commit is listed, the approach would be to split each of those off into separate, independent branches on top of the base commit. a / base ----- b \ c