def no_commits(self, repo):
        return 0 != self.git_exit_code(['rev-list', 'HEAD', '--max-count=1'])
dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py/GitStatusUnstageCommand.no_commits/original