[aur-general] Wrong package version and more wrong attributes displayed

Eli Schwartz eschwartz at archlinux.org
Fri Mar 9 11:53:06 UTC 2018

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.


Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20180309/b8082443/attachment.asc>

More information about the aur-general mailing list