More hints for new contributors

This commit is contained in:
Alexander Neumann 2015-01-02 23:13:30 +01:00
parent fdbedd525a
commit 5ec31a56f3
1 changed files with 7 additions and 3 deletions

View File

@ -54,10 +54,14 @@ Contribute
Contributions are welcome! Please make sure that all code submitted in
pull-requests is properly formatted with `gofmt`. Installing the script
`check-fmt` from https://github.com/edsrzf/gofmt-git-hook locally helps not to
forget formatting:
`fmt-check` from https://github.com/edsrzf/gofmt-git-hook locally as a
pre-commit hook helps not to forget formatting:
cp gofmt-git-hook/check-fmt restic/.git/hooks/pre-commit
cp gofmt-git-hook/fmt-check restic/.git/hooks/pre-commit
If you are unsure what to do, please have a look at the github issues,
especially those tagged
[https://github.com/restic/restic/labels/minor%20complexity](minor complexity).
License
=======