From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
Cc: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: getpriority() and top display for priority inconsistent
Date: Thu, 15 Aug 2019 10:20:00 -0000 [thread overview]
Message-ID: <20190815102038.GM11632@calimero.vinschen.de> (raw)
In-Reply-To: <BN6PR09MB140944DC1C65B9A96BF6D745A5AC0@BN6PR09MB1409.namprd09.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1693 bytes --]
On Aug 15 09:41, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
> > git format-patch output with commit message, please?
>
> Please educate me how to do that; I am just using "git diff --no-color".
$ git add <files with changes you want to commit>
$ git commit -a
- opens editor to create a commit message. first line is summary,
second line stays empty, descriptive text follows in line 3+.
$ git format-patch -1
- creates a git patch file which can be attached to your email or
just send *as* email with `git send-email --to=<addr> <filename>
Starting with git has a bit steep learning curve, but it's totally
worth it. There's a great free online book available:
https://git-scm.com/book/
> > The commit message should describe what the problem is and how the patch fixes it. One or
> > two sentences are enough.
>
> The commit message is there:
>
> > > "getpriority() consistent with process priority
> > https://cygwin.com/ml/cygwin/2019-08/msg00122.html"
Well, that's just a quote from a former email. I would never have
recognized it as a commit message. A commit message should consist
of the one-line summary (in our case starting with the text "Cygwin: "
to distinguish the change from generic newlib changes), followed
by an empty line, followed by a descriptive text, what problem this
patch fixes and how.
Don't get me wrong, I'm glad you send patches, but it's tricky to create
a meaningful commit message if you're not the author of a patch. It's
also pretty time-consuming since you have to care for correct authorship
and stuff.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-08-15 10:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-14 20:01 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-15 7:29 ` Corinna Vinschen
2019-08-15 9:41 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-15 10:20 ` Corinna Vinschen [this message]
2019-08-15 10:23 ` Corinna Vinschen
2019-08-15 11:04 ` Houder
2019-08-15 11:13 ` john doe
2019-08-15 10:54 ` john doe
-- strict thread matches above, loose matches on Subject: below --
2019-08-08 13:46 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-08 15:40 ` Corinna Vinschen
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=20190815102038.GM11632@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
--cc=lavr@ncbi.nlm.nih.gov \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).