[pbs-devel] [RFC proxmox-backup] git-hooks: pre-commit runs cargo fmt --check

Stefan Lendl s.lendl at proxmox.com
Fri Jan 12 15:45:13 CET 2024


> +if [[ $res != 0 ]]; then
> +    echo "git pre-commit hook: There are some code style issues, run \`cargo fmt\` first."
> +	exit 1
> +fi

mismatched intendation.. sent v2




More information about the pbs-devel mailing list