Message ID | 7098b72d119941801db2c9f38a8a4f2dde03b540.1725562109.git.ekaitz@elenq.tech |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4A25227BBEA; Thu, 5 Sep 2024 19:50:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BFC8927BBE2 for <patchwork@mira.cbaines.net>; Thu, 5 Sep 2024 19:50:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1smHYR-0001BQ-Ee; Thu, 05 Sep 2024 14:50:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1smHYM-00018h-Mr for guix-patches@gnu.org; Thu, 05 Sep 2024 14:49:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1smHYL-0005Bx-8a; Thu, 05 Sep 2024 14:49:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=BEWon/4WqIVNFFNFOrar+1xJi4FU3Gg6kabjigZrt2A=; b=TZzoRGqG+TBpuwQs7Q8WhqDiJIdgdxz/SJeeYZmcXGJjps7UrRP0mQ3I7chFHra/OqA5xZIup74QA8S7F7j1Yx4NIrmgQPdpd5uC7t98IXX078Pb8wxd2QSWFkYBpfIOkW5Xk0EQYo3cFy41C76vEscheswtHzjCN3v6xovEPd2WtsFuoQEjFnIN14MNWMAHG9UInR7dj/1bZ9P98CEKEK/tyfNV1tDedz7fR33dGGoOW/0plgJf141p80PI97sq6geeMl0K1loYPXo3maUpvTomwjMhQlZ6MXE0oG5lJDWft+MZ00FtdPJzQXDe1pQeDW2omS+S+Rh8wpk7uRZEAQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1smHZN-00008N-Sg; Thu, 05 Sep 2024 14:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73055] [PATCH] doc: Explain `git format-patch` revision format Resent-From: Ekaitz Zarraga <ekaitz@elenq.tech> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: pelzflorian@pelzflorian.de, ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 05 Sep 2024 18:51:01 +0000 Resent-Message-ID: <handler.73055.B.1725562207341@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73055 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73055@debbugs.gnu.org Cc: Ekaitz Zarraga <ekaitz@elenq.tech>, Florian Pelz <pelzflorian@pelzflorian.de>, Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Florian Pelz <pelzflorian@pelzflorian.de>, Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> Received: via spool by submit@debbugs.gnu.org id=B.1725562207341 (code B ref -1); Thu, 05 Sep 2024 18:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2024 18:50:07 +0000 Received: from localhost ([127.0.0.1]:38230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1smHYV-00005R-7c for submit@debbugs.gnu.org; Thu, 05 Sep 2024 14:50:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:40036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ekaitz@elenq.tech>) id 1smHYT-00005I-I5 for submit@debbugs.gnu.org; Thu, 05 Sep 2024 14:50:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ekaitz@elenq.tech>) id 1smHXP-0000aA-M6 for guix-patches@gnu.org; Thu, 05 Sep 2024 14:48:59 -0400 Received: from dane.soverin.net ([185.233.34.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <ekaitz@elenq.tech>) id 1smHXN-00057o-4w for guix-patches@gnu.org; Thu, 05 Sep 2024 14:48:59 -0400 Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4X07fz0Vgnz2xH9; Thu, 5 Sep 2024 18:48:43 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4X07fy4WqFzSQ; Thu, 5 Sep 2024 18:48:42 +0000 (UTC) Authentication-Results: smtp.soverin.net; dkim=pass (2048-bit key; unprotected) header.d=elenq.tech header.i=@elenq.tech header.a=rsa-sha256 header.s=soverin1 header.b=qS3+1qGW; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1725562122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=BEWon/4WqIVNFFNFOrar+1xJi4FU3Gg6kabjigZrt2A=; b=qS3+1qGWJFGRyVSV715HKSq6wKJY77irKQ1DYFyz1XPat0CiXPUVJS9I6/FBdkme8fS92r mwdUaO33IX8rgQFCQ7bZ269NQJxR48yByXq6sUkYijvJUcE8GYvEsl7PLZq9KpD3be3dBv UefHZtDpDKiZFJWnMeIMzaZBB87aDgDsqYB+FMh/5sPj81yOCa9tjjIXBy1RTkjA1vt//F wlxgwjn0VoPmk67ZTgcrXP+uPT435LyD66HacjqDqaDqqNriaXOzMdixmLqIyEgep2sa8l vIugoUhnIVge8kPreQWNZCWpfT75btbGIfayTB5vdaKibZKYqxv1W3Psq2LLMQ== From: Ekaitz Zarraga <ekaitz@elenq.tech> Date: Thu, 5 Sep 2024 20:48:29 +0200 Message-ID: <7098b72d119941801db2c9f38a8a4f2dde03b540.1725562109.git.ekaitz@elenq.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spampanel-Class: ham Received-SPF: pass client-ip=185.233.34.30; envelope-from=ekaitz@elenq.tech; helo=dane.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#73055] doc: Explain `git format-patch` revision format
|
|
Commit Message
Ekaitz Zarraga
Sept. 5, 2024, 6:48 p.m. UTC
* doc/contributing.texi(Sending a Patch Series): Add a note about `git format-patch` revision format and link to git documentation. Change-Id: Ie08f85dc19e3804165fb184664b74e85a804d7c4 --- doc/contributing.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) base-commit: 7d2ced8d6d9c38327592d312376d59a8c37fc160
Comments
Hi Ekaitz, Ekaitz Zarraga <ekaitz@elenq.tech> writes: > * doc/contributing.texi(Sending a Patch Series): Add a note about > `git format-patch` revision format and link to git documentation. > > Change-Id: Ie08f85dc19e3804165fb184664b74e85a804d7c4 > --- > doc/contributing.texi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/doc/contributing.texi b/doc/contributing.texi > index 73f7addbef..d5d63ebdbd 100644 > --- a/doc/contributing.texi > +++ b/doc/contributing.texi > @@ -2187,6 +2187,18 @@ Sending a Patch Series > --cover-letter --base=auto > @end example > > +@quotation Note > +@code{git format-patch} accepts a wide range of > +@uref{https://git-scm.com/docs/gitrevisions, revision range} specifiers. > +For example, if you are working in a branch, you could select all commits > +in your branch starting at @code{master}. > + > +@example > +$ git format-patch master..@var{MY_BRANCH} -o outgoing \ > + --cover-letter --base=auto The --base=auto can be dropped since it's part of our default git config, which is automatically installed for all of our contributors (c.f.: etc/git/gitconfig) when they build the Guix source. Otherwise, LGTM, if others think it has enough value to be added. -- Thanks, Maxim
> The --base=auto can be dropped since it's part of our default git > config, which is automatically installed for all of our contributors > (c.f.: etc/git/gitconfig) when they build the Guix source. > > Otherwise, LGTM, if others think it has enough value to be added. > > -- > Thanks, > Maxim Hi! Should we remove the --base=auto from all the examples or only mine? Thanks!
Hi Ekaitz, Ekaitz Zarraga <ekaitz@elenq.tech> writes: >> The --base=auto can be dropped since it's part of our default git >> config, which is automatically installed for all of our contributors >> (c.f.: etc/git/gitconfig) when they build the Guix source. >> Otherwise, LGTM, if others think it has enough value to be added. >> -- >> Thanks, >> Maxim > > Hi! > > Should we remove the --base=auto from all the examples or only mine? Your commit shouldn't add it, and as an extra, if you don't mind the extra scope, another commit removing it from all the existing examples would be nice.
diff --git a/doc/contributing.texi b/doc/contributing.texi index 73f7addbef..d5d63ebdbd 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -2187,6 +2187,18 @@ Sending a Patch Series --cover-letter --base=auto @end example +@quotation Note +@code{git format-patch} accepts a wide range of +@uref{https://git-scm.com/docs/gitrevisions, revision range} specifiers. +For example, if you are working in a branch, you could select all commits +in your branch starting at @code{master}. + +@example +$ git format-patch master..@var{MY_BRANCH} -o outgoing \ + --cover-letter --base=auto +@end example +@end quotation + We can now send @emph{just} the cover letter to the @email{guix-patches@@gnu.org} address, which will create an issue that we can send the rest of the patches to.