public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH 1/6] man.7: srcfix
Date: Sat, 29 Jul 2023 14:22:41 +0200	[thread overview]
Message-ID: <64e619b3-c2c0-fd68-a109-07f5173b8f21@kernel.org> (raw)
In-Reply-To: <20230729091156.4c73m3p5g7cqph5x@illithid>


[-- Attachment #1.1: Type: text/plain, Size: 1695 bytes --]

Hi Branden,

On 2023-07-29 11:11, G. Branden Robinson wrote:
> Hi Alex,
> 
> At 2023-07-28T22:56:10+0200, Alejandro Colomar wrote:
>> On 2023-07-28 19:57, G. Branden Robinson wrote:
>>> Clean up in preparation for "MR sed".
>>
>> Moved this into the commit message.
> 
> Thanks!
> 
> [...]
>> I wonder why all this appears in your email body.  How did you
>> generate it?  I bet not with git-format-patch(1), or that you modified
>> it manually?
> 
> The latter.  It had been so long since I had submitted a series of
> patches to this list that I forgot that I had a shell script to help me
> with it.  I used it for v2 of the two remaining patches, so if those
> are well-formed, all I have to do in the future is remember my script.

I wonder why you need a script.  I usually do the following:

$ git format-patch -o patches/ master..HEAD --cover-letter -v1 \
	--cc linux-man@vger.kernel.org --to mtk.manpages@gmail.com;
$ vi ./patches/v1-0000*;  # edit the cover letter
$ git send-email ./patches/v1-*;

which has grown finger memory so much that a script would
over-complicate it.

(I have a global gitignore for ./patches/; see:)

$ sed -n '/^\[core]/,/^$/p' .gitconfig
[core]
	editor = vim
	excludesFile = ~/.config/git/gitignore

$ cat .config/git/gitignore 
# vim(1) tmp files
*.swp
*.swo

# Store patches here:
/patches/


And BTW, for -v2 and subsequent revisions, --range-diff is very
interesting in git-format-patch(1).  Other times, though, it's very
confusing, and --interdiff is more appropriate.


Cheers,
Alex


-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2023-07-29 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-28 17:57 [PATCH 1/6] man.7: srcfix G. Branden Robinson
2023-07-28 20:56 ` Alejandro Colomar
2023-07-29  9:11   ` G. Branden Robinson
2023-07-29 12:22     ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=64e619b3-c2c0-fd68-a109-07f5173b8f21@kernel.org \
    --to=alx@kernel.org \
    --cc=g.branden.robinson@gmail.com \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox