From: Eric Engestrom Date: Fri, 19 Jul 2019 20:27:44 +0000 (+0100) Subject: docs: simplify `Fixes:` git command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8febd6cba296ead8f94ae87e7d54a3bb7ca50b0;p=mesa.git docs: simplify `Fixes:` git command Reviewed-by: Eric Anholt Signed-off-by: Eric Engestrom --- diff --git a/docs/submittingpatches.html b/docs/submittingpatches.html index d8b9fc3b643..786af10459e 100644 --- a/docs/submittingpatches.html +++ b/docs/submittingpatches.html @@ -85,7 +85,9 @@ noted in the patch comment. For example:
    Fixes: d7b3707c612 "util/disk_cache: use stat() to check if entry is a directory"
 
-
  • You can produce those fixes lines by running
    git config --global pretty.fixes 'Fixes: %h ("%s")'
    once and then using
    git show -s --pretty=fixes <sha1>
    +
  • You can produce those fixes lines by running +
    git config --global alias.fixes "show -s --pretty='format:Fixes: %h (\"%s\")'"
    +once and then using
    git fixes <sha1>
  • If there have been several revisions to a patch during the review process, they should be noted such as in this example: