

def no_commits(self, repo):
    return (0 != repo.git_exit_code(['rev-list', 'HEAD', '--max-count=1']))

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusUnstageCommand.no_commits/VarMisuse@16/18 `self`->`repo`