mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Felix Mellmann <flix.ptxdist@benfm.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] Added symbolic links to the midnight commander package which allows to call the viewer, the editor and the diff tool from the command line.
Date: Sun, 24 Jan 2021 16:42:49 +0100	[thread overview]
Message-ID: <20210124154249.elcsohi65vmxj2mf@pengutronix.de> (raw)
In-Reply-To: <f1cd747e-31e8-4d8b-4599-5dd72b1875a1@benfm.de>

On Sun, Jan 24, 2021 at 02:31:54PM +0100, Felix Mellmann wrote:
> Hello Alex,
> 
> I'm sorry that I've missed to obey the line length. Since I have never
> made any contribution to any mailing list until now, I think I have to
> learn a lot. I'm also unsure if my other two contributions have even
> reached the mailing list as only your answer is visible...

Yes, they reached the mailing list. You can find them in the archive:
<https://www.mail-archive.com/ptxdist@pengutronix.de/>

One of your mails didn't have a subject, and it looks like it should
have been the commit message of the patch you sent before. When using
git-send-email, you send every commit as a single patch.  The first line
of your commit message is used as the subject line for the mail, and the
other lines of the commit messages, followed by the diff content, are
the body of the message. Therefore it is convention to format the commit
message like you would write a plain-text e-mail and use hard line
breaks after 72 characters.

Also, for PTXdist, the usual pattern for subject lines is starting with
the packages name followed by a colon. In your case, a good concise
subject would be "mc: install symlinks for mcedit, mcdiff, mcview".

Some more pointers for using git-send-email:

If you send multiple patches that depend on each other, it is common to
send them as a mail thread. You can use git-send-email's --thread
argument followed by the commit IDs (or a commit range) to send all of
them them at once (this should already be the default behaviour of
git-send-email).

When the maintainer uses git-am on your mails to apply them to their
branch, the commit message will stay intact like you sent them. However,
if you want to give more information to the reviewers that should not be
part of the commit message when applying the patch, you can add them
below a "---" line. This is often used to give a changelog when sending
multiple iterations of a patch. See for example [1], which was applied
in master as [2].

[1]: https://www.mail-archive.com/ptxdist@pengutronix.de/msg17493.html
[2]: https://git.pengutronix.de/cgit/ptxdist/commit/?id=b5515256f0b1c49c28a2

When sending the next iteration of your patch(es) after incorporating
any feedback you got, send the complete thread again, and use the -v
option for git-send-email, e.g. -v2, -v3, -v4 and so on. This will
change the subject into "[PATCH v2]" etc. so it is clear that the patch
was changed. Also give a changelog what you changed in relation to the
first iteration, like described above.

You can also use --cover-letter to describe your patch series as a whole
(and the changelog for follow-up iterations) in a separate mail, which
will not be committed to the Git repository. See [3] for such an
example.

[3]: https://www.mail-archive.com/ptxdist@pengutronix.de/msg17481.html

 - Roland

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      reply	other threads:[~2021-01-24 15:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 11:18 Felix Mellmann
2021-01-24 13:08 ` Alexander Dahl
2021-01-24 13:31   ` Felix Mellmann
2021-01-24 15:42     ` Roland Hieber [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=20210124154249.elcsohi65vmxj2mf@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=flix.ptxdist@benfm.de \
    --cc=ptxdist@pengutronix.de \
    /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