Skip to content
/ git Public
forked from git/git

Commit

Permalink
Merge branch 'hv/doc-commit-reference-style'
Browse files Browse the repository at this point in the history
A small doc update.

* hv/doc-commit-reference-style:
  SubmittingPatches: document how to reference previous commits
  • Loading branch information
gitster committed Aug 25, 2016
2 parents 41a616d + 175d38c commit a1f0b4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/SubmittingPatches
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit a1f0b4e

Please sign in to comment.