Skip to content

Commit

Permalink
mud branch color is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jasursadikov committed Sep 17, 2024
1 parent d669f47 commit 8728851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def branches(self, repos: Dict[str, List[str]]) -> None:

for path, labels in repos.items():
formatted_path = self._get_formatted_path(path)
branches = subprocess.check_output('git branch', shell=True, text=True, cwd=path).splitlines()
branches = subprocess.check_output('git branch --color=never', shell=True, text=True, cwd=path).splitlines()
current_branch = next((branch.lstrip('* ') for branch in branches if branch.startswith('*')), None)
branches = [branch.lstrip('* ') for branch in branches]
sorted_branches = sorted(branches, key=lambda x: branch_counter.get(x, 0), reverse=True)
Expand Down

0 comments on commit 8728851

Please sign in to comment.