def get_menu_options(self):
        """
        Determine the git status of the current working directory, and return
        a list of menu options for each file that is shown.
        """
        status_entries = self.get_status()
        if not status_entries:
            return [MenuOption(False, CLEAN_WORKING_DIR, None, None)]

        menu_options = []
        staged_count = 0
        unstaged_count = 0

        for entry in status_entries:
            if entry.index_status != "?" and entry.index_status != " ":
                staged_count += 1
            if entry.working_status in ("M", "D", "?"):
                unstaged_count += 1
                filename = (entry.path if not entry.index_status == "R"
                            else entry.path + " <- " + entry.path_alt)
                menu_text = "[{0}] {1}".format(entry.working_status, filename)
                menu_options.append(MenuOption(True, menu_text, filename, entry.index_status == "?"))

        if unstaged_count > 0:
            menu_options.append(MenuOption(True, ADD_ALL_UNSTAGED_FILES, None, None))
            menu_options.append(MenuOption(True, ADD_ALL_FILES, None, None))

        if 0 > staged_count:
            menu_options.append(MenuOption(False, STAGED.format(staged_count), None, None))
            menu_options.append(MenuOption(True, COMMIT, None, None))

        return menu_options
dataset/ETHPy150Open divmain/GitSavvy/core/commands/quick_stage.py/GsQuickStageCommand.get_menu_options/swapped operands of `>`