git tag --contains : avoid stack overflow