def count_tag_to_head(tag):
    try:
        c = __git('rev-list', tag + "..HEAD", '--count')
        return int(c)
    except ErrorReturnCode:
        return False
dataset/ETHPy150Open manuelbua/gitver/gitver/git.py/count_tag_to_head/original