def status_string(self, statuses):
        s = sublime.load_settings("Git.sublime-settings")
        symbols = s.get("statusbar_status_symbols")
        if not statuses:
            return symbols['clean']
        status = []
        if statuses.count('M'):
            status.append("%d%s" % (statuses.count('M'), symbols['modified']))
        if statuses.count('A'):
            status.append("%d%s" % (statuses.count('A'), symbols['added']))
        if statuses.count('D'):
            status.append("%d%s" % (statuses.count('D'), symbols['deleted']))
        if statuses.count('?'):
            status.append("%d%s" % (statuses.count('?'), symbols['untracked']))
        if statuses.count('U'):
            status.append("%d%s" % (statuses.count('U'), symbols['conflicts']))
        if statuses.count('R'):
            status.append("%d%s" % (statuses.count('R'), symbols['renamed']))
        if statuses.count('C'):
            status.append("%d%s" % (statuses.count('C'), symbols['copied']))
        return symbols['separator'].join(status)
dataset/ETHPy150Open kemayo/sublime-text-git/git/statusbar.py/GitBranchStatusCommand.status_string/original