use git filter-branch --tree-filter to add .SRCINFO to earlier commits
using git filter-branch --tree-filter for any new commit is wrong because it will run on all past trees. A lot of inefficient work is done here. On Tue, May 26, 2015 at 6:27 AM, Marcel Korpel <marcel.korpel@gmail.com> wrote:
* Giancarlo Razzolini <grazzolini@gmail.com> (Tue, 26 May 2015 10:21:01 -0300):
I found out that if you accidentally commit the PKGBUILD without the .SRCINFO, and then try to push the .SRCINFO file after, it won't work. My suggestion to you, start with a clean clone of your repo. I was able to up every project I have on aur.archlinux.org to aur4.
Or, as Doug Newgard already said, use git filter-branch --tree-filter to add .SRCINFO to earlier commits.
Best, Marcel