Merge branch 'hv/doc-commit-reference-style'

A small doc update.

* hv/doc-commit-reference-style:
  SubmittingPatches: use gitk's "Copy commit summary" format
This commit is contained in:
Junio C Hamano 2016-09-08 21:49:51 -07:00
commit d012326d48

View File

@ -122,9 +122,14 @@ without external resources. Instead of giving a URL to a mailing list
archive, summarize the relevant points of the discussion. archive, summarize the relevant points of the discussion.
If you want to reference a previous commit in the history of a stable If you want to reference a previous commit in the history of a stable
branch use the format "abbreviated sha1 (subject, date)". So for example branch, use the format "abbreviated sha1 (subject, date)",
like this: "Commit f86a374 (pack-bitmap.c: fix a memleak, 2015-03-30) with the subject enclosed in a pair of double-quotes, like this:
noticed [...]".
Commit f86a374 ("pack-bitmap.c: fix a memleak", 2015-03-30)
noticed that ...
The "Copy commit summary" command of gitk can be used to obtain this
format.
(3) Generate your patch using Git tools out of your commits. (3) Generate your patch using Git tools out of your commits.