git ls-files --cached --others --exclude-standard -- "$@"
}
-unformatted=$(gofumpt -l .)
+unformatted=$(files '*.go' | xargs gofumpt -l)
if [ -n "$unformatted" ]; then
printf 'gofumpt: unformatted files:\n%s\n' "$unformatted" >&2
exit 1
files '*.nix' | xargs nixfmt --check
files '*.rst' | xargs rstfmt --check
files '*.md' | xargs mdformat --check
-shellcheck bin/check bin/format bin/reflow .githooks/commit-msg
+shellcheck bin/check bin/format bin/reflow bin/service-update .githooks/commit-msg