On 03/09/2018 03:26 AM, Mikael Blomstrand via aur-general wrote: > A tip is to add something like this to .git/hooks/pre-commit in your local > repo: > ``` > makepkg --printsrcinfo > /tmp/.SRCINFO > diff -q .SRCINFO /tmp/.SRCINFO > ``` > > git will then stop you from committing when .SRCINFO isn't up to date.
Why punish yourself when you could simply fix it? pre-commit hooks can run git-add(1) for you. https://github.com/eli-schwartz/pkgbuilds#hooks -- Eli Schwartz Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature
