updated CONTRIBUTING.md

- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
trimstray 2018-12-17 23:54:22 +01:00
parent 174547e1d1
commit ed648a91e5

View File

@ -1,15 +1,15 @@
# Contributing # Contributing
If you would like to support this project, you have an interesting idea how to improve the operation of this tool or if you found some errors - do fork this add your fixes and add pull-request of your branch to the **testing branch**. If you would like to support this project, you have an interesting idea how to improve the operation of this tool or if you found some errors - do fork this add your fixes and add pull-request of your branch to the **master branch**.
## Signature of commit ## Signature of commit
Moving forward all commits to this project must include a "signed-off-by" line indicating the name and email address of the contributor signing off on the change. To enable signatures add the following lines to `.git/hooks/prepare-commit-msg` : Moving forward all commits to this project must include a "signed-off-by" line indicating the name and email address of the contributor signing off on the change. To enable signatures add the following lines to `.git/hooks/prepare-commit-msg` :
`````` ```
SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/- signed-off-by: \1/p') SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/- signed-off-by: \1/p')
grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
`````` ```
## Pull requests ## Pull requests