File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11- repo : /Users/detailyang/art/opensource/personal/pre-commit-shell
2- sha : a257808093def4b815db6924b62e806b88011e91
2+ sha : 1b26bf757e6d5b9bfed2566339c6464f44779678
33 hooks :
44 - id : shell-lint
5+ exclude : test
Original file line number Diff line number Diff line change 11- repo : https://github.com/detailyang/pre-commit-shell
2- sha : 5b860fdc6a1901fbbd12960b51877bdf0787e5fb
2+ sha : 1.0.2
33 hooks :
44 - id : shell-lint
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616tmpdir=$( mktemp -t pre-commit-shell.XXXXXX -d)
1717cp test/test.sh " $tmpdir "
1818cp test/.pre-commit-config.yaml " $tmpdir "
19- cp test/.pre-commit-hooks.yaml " $tmpdir "
2019pushd " $tmpdir "
20+ pwd
2121git init
2222git config user.email " detailyang@gmail.com"
2323git config user.name " detailyang"
24- git add .pre-commit-config.yaml .pre-commit-hooks.yaml --all ; git commit -a -m " init test case"
2524pre-commit install
26- pre-commit run
25+ git add . pre-commit-config.yaml ; git commit -a -m " init test case "
2726git add . --all
2827tmpfile=$( mktemp -t pre-commit-shell.XXX)
2928git commit -a -m " let begin test" & > " $tmpfile "
You can’t perform that action at this time.
0 commit comments