Fix ambiguous argument error on tags (#15432)
Fix ambiguous argument error on tags (#15432)

There is a weird gotcha with GetTagCommitID that because it uses git rev-list
can cause an ambiguous argument error.

This PR simply makes tags use the same code as branches.

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>
go-gitea/gitea,cez81/gitea,cez81/gitea,cez81/gitea,go-gitea/gitea,vdbt/gitea,go-gitea/gitea,vdbt/gitea