summaryrefslogtreecommitdiffstats
path: root/hooks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
* pre-commit: Change comment from citra to yuzuN00byKing2018-03-261-1/+1
|
* hook: remove clang-format checkwwylele2017-02-171-17/+0
|
* hooks: convert pre-commit to POSIX syntaxJan Beich2016-10-281-3/+3
|
* Fix typosRicardo de Almeida Gonzaga2016-10-201-1/+1
|
* Git hook: Remove trailing semicolons wrecking vim’s syntax highlighting.Emmanuel Gil Peyrot2016-09-181-2/+2
|
* Git hook: Import Dolphin’s clang-format hook.Emmanuel Gil Peyrot2016-09-181-1/+18
|
* Only check src/ directory for whitespace errors in the pre-commit hookYuri Kunde Schlesner2015-08-311-2/+4
| | | | | | | This allows importing of external libraries into externals/ without having to reformat them. Unfortunately it also allows whitespace to be introduced in files like the root CMakeLists.txt, but that is a small downside compared to the tradeoff.
* Fix permissions in pre-commit hookJSFernandes2015-07-141-0/+0
|
* enforce config from hookLectem2015-06-141-16/+17
|
* force no-tab/trailing spaces with git hookLectem2015-06-091-0/+23
Remove unneeded stuff from pre-commit script The check against an empty commit was not needed (it is only a security for the 1st commit after git init). It could also possibly pose problems because of the redirection to /dev/null on some windows systems. newline at EOF & fixed indent