Commit Graph

9 Commits

Author SHA1 Message Date
e49e8a8ef0 hooks:pre-push: Put -E flag closer to --grep
Since they belong together.
2025-05-30 01:31:40 +02:00
136b56688a hooks:pre-push: Switch back to /bin/sh
It's not worth it to sacrifice the portability of the script for a bit
of integer-aid.
2025-05-30 01:31:17 +02:00
78e254251a hooks:pre-push: Don't use variables in format string
Link: https://www.shellcheck.net/wiki/SC2059
2025-03-04 12:55:50 +01:00
78464fdfb0 hooks:pre-push: Allow WIP commits on WIP branches 2025-03-03 18:27:46 +01:00
b9ac80551c meta:hooks:pre-push: Format printout
Forgot some newlines.
2022-07-12 21:00:13 +02:00
e40ee88520 meta:hooks:pre-push: Refactor if-condition 2022-07-12 21:00:13 +02:00
45cb607385 meta:hooks:pre-push: Adjust to more concise style
Adjust the sample code from git to a more concise coding style, placing
{do,then} on the same line and using `[` instead of `test`.
2022-07-12 21:00:13 +02:00
ee6153734a meta:hooks:pre-push: Extend pattern for autosquash
Extend the grep pattern for commits starting with `{squash,fixup}!`.
2022-07-12 21:00:12 +02:00
f4fe825ce7 meta:git:hooks: Add pre-push template 2022-07-12 21:00:12 +02:00