Skip to content

Commit 8b65c58

Browse files
authored
merge adjust (#10)
1 parent 2e4b97c commit 8b65c58

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

gitstack.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -357,12 +357,10 @@ def _check_and_rebase(self, branch: str) -> None:
357357
)
358358
current_base_sha = p.stdout.decode().strip()
359359
if current_parent_sha == current_base_sha:
360-
print(
361-
f"Branch {branch} up-to-date with {parent}", branch, parent
362-
)
360+
print(f"Branch {branch} up-to-date with {parent}", branch, parent)
363361
return
364362
print(f"Merging {parent} into {branch}")
365-
subprocess.run(["git", "merge", parent], check=True)
363+
subprocess.run(["git", "merge", "--no-ff", "--no-edit", parent], check=True)
366364

367365
def _get_trunk(self):
368366
"""Get name of trunk based on possible candidates"""

0 commit comments

Comments
 (0)