Thursday, April 4, 2019

[389-devel] Re: Updated commit message format

On (04/04/19 13:52), Matus Honek wrote:
>Hello,
>
>I would like to bring to your attention a recent change in our
>Contribution Guide [1]. We have updated the recommended commit message
>format. In particular, the "Fixes " string prefixing the URL which
>will make our lives easier in case of pull requests by automatically
>updating the respective issue with a link to this pull request [2].
>

Just a hint

You can have file in upstream git with the template
and configure your git to use it :-)

e.g.
git config commit.template .git-commit-template

https://www.syntevo.com/blog/?p=4076

It is mentioned in "man git commit" -> "--template=<file>"

-t <file>, --template=<file>
When editing the commit message, start the editor with the contents
in the given file. The commit.template configuration variable is
often used to give this option implicitly to the command. This
mechanism can be used by projects that want to guide participants
with some hints on what to write in the message in what order. If
the user exits the editor without editing the message, the commit
is aborted. This has no effect when a message is given by other
means, e.g. with the -m or -F options.

LS
_______________________________________________
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-devel@lists.fedoraproject.org

No comments:

Post a Comment