Skip to content

Commit d69063c

Browse files
Hide merged branches when git pull results in a merge conflict
Signed-off-by: Jacob Stopak <jacob@initialcommit.io>
1 parent a2bc839 commit d69063c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: git_sim/pull.py

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def construct(self):
6161
if "CONFLICT" in e.stdout:
6262
# Restrict to default number of commits since we'll show the table/zones
6363
self.n = self.n_default
64+
settings.hide_merged_branches = True
6465

6566
# Get list of conflicted filenames
6667
self.conflicted_files = re.findall(r"Merge conflict in (.+)", e.stdout)

0 commit comments

Comments
 (0)