git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Fix git-send-email.perl w.r.t. recent Getopt::Long update

From
H.Merijn Brand <linux@tux.freedom.nl>
Date
Nov 25, 2023, 09:45 UTC
Message-ID
<20231125104211.5b7fe0be@pc09>
In-Reply-To
<ZWFaZcgzwEP13geI@archie.me>
On Sat, 25 Nov 2023 09:22:29 +0700, Bagas Sanjaya <bagasdotme@gmail.com> wrote:
Show 6 quoted lines
> On Fri, Nov 24, 2023 at 10:39:32AM +0100, H.Merijn Brand wrote:
> > Patch attached  
> 
> Do not send patches as attachments; send them inline instead. See
> Documentation/SubmittingPatches for more info (hint: send patches
> with git-send-email(1)).

As I am used to PR's by now on all OSS projects I am involved in, or use git commits or merges directly on the repo, I *never* use format-patch and/or send-email.

These docs - yes I read them - do not offer a concise cut-n-paste example for people like me. In order to have my relative simple patch submitted (I already had the PR ready, but that came with a huge warning that PR's are not accepted) I did it the way I did it. Now I need to read and learn two new commands> I don't think that is very user-friendly, but that might be just me.

Ironically, this patch is about the mail part of git.
I suggest adding a small example like
 # Create the patch basics
 $ git format-patch --cover-letter -M origin/master -o outgoing
 # Fix the subject
 $ $VISUAL outgoing/0000-cover-letter.patch
 # Send the mail
 $ git send-email --to=git@vger.kernel.org outgoing/*
> Thanks.
-- 
H.Merijn Brand  https://tux.nl   Perl Monger   http://amsterdam.pm.org/
using perl5.00307 .. 5.37        porting perl5 on HP-UX, AIX, and Linux
https://tux.nl/email.html http://qa.perl.org https://www.test-smoke.org
                           
Previous: Bagas SanjayaNext: Dragan Simic
Message 3 of 8 in “Fix git-send-email.perl w.r.t. recent Getopt::Long update”
  1. H.Merijn BrandNov 24, 2023
  2. Bagas SanjayaNov 25, 2023
  3. H.Merijn BrandNov 25, 2023
  4. Dragan SimicNov 25, 2023
  5. Jeff KingNov 27, 2023
  6. Junio C HamanoNov 27, 2023
  7. H.Merijn BrandNov 27, 2023
  8. Todd ZullingerNov 28, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.