Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'hv/doc-commit-reference-style'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 25 Aug 2016 20:55:05 +0000
(13:55 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 25 Aug 2016 20:55:06 +0000
(13:55 -0700)
A small doc update.
* hv/doc-commit-reference-style:
SubmittingPatches: document how to reference previous commits
Documentation/SubmittingPatches
patch
|
blob
|
history
raw
(from parent 1:
41a616d
)
diff --git
a/Documentation/SubmittingPatches
b/Documentation/SubmittingPatches
index e8ad978824ce88aa8c7b1b0f7cde64c1977b8682..500230c054be697d507cfa8e800e657803e6ab0d 100644
(file)
--- a/
Documentation/SubmittingPatches
+++ b/
Documentation/SubmittingPatches
@@
-121,6
+121,11
@@
its behaviour. Try to make sure your explanation can be understood
without external resources. Instead of giving a URL to a mailing list
archive, summarize the relevant points of the discussion.
+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
+like this: "Commit f86a374 (pack-bitmap.c: fix a memleak, 2015-03-30)
+noticed [...]".
+
(3) Generate your patch using Git tools out of your commits.