diff --git a/git_map_branches.py b/git_map_branches.py index cd4390059..6105f5e87 100755 --- a/git_map_branches.py +++ b/git_map_branches.py @@ -174,7 +174,7 @@ class BranchMapper(object): return not parent or parent in self.__gone_branches def __color_for_branch(self, branch, branch_hash): - if branch.startswith('origin'): + if branch.startswith('origin/'): color = Fore.RED elif branch.startswith('branch-heads'): color = Fore.BLUE