

def count_tag_to_head(tag):
    try:
        c = __git('rev-list', (c + '..HEAD'), '--count')
        return int(c)
    except ErrorReturnCode:
        return False

dataset/ETHPy150Open manuelbua/gitver/gitver/git.py count_tag_to_head/VarMisuse@21/31 `tag`->`c`