Mercurial > hgrepos > Python2 > PyMuPDF
view mupdf-source/scripts/gitsetup.sh @ 41:71bcc18e306f
MERGE: New upstream PyMuPDF v1.26.5 including MuPDF v1.26.10
BUGS: Needs some additional changes yet.
Not yet tested.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 11 Oct 2025 15:24:40 +0200 |
| parents | b50eed0cc0ef |
| children |
line wrap: on
line source
#!/bin/bash # Tell git to fix whitespace errors automatically git config apply.whitespace fix # Set up useful aliases: git config alias.wsfix "! git diff HEAD >P.diff && git apply -R P.diff && git apply --whitespace=fix P.diff && rm P.diff" git config alias.wsfixi "! git diff --cached >P.diff && git apply --cached -R P.diff && git apply --cached --whitespace=fix P.diff && rm P.diff" # Copy hooks: cp scripts/githooks/* .git/hooks/
