Skip to content

Commit

Permalink
explictly disable rebase when pulling develop branch to create a merg…
Browse files Browse the repository at this point in the history
…e commit, since not specifying how to reconcile divergent branches is an error with Git 2.33.1 and newer (fixes easybuilders#3873)
  • Loading branch information
boegel committed Oct 27, 2021
1 parent 580dd97 commit bfc96cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/tools/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -2409,7 +2409,7 @@ def sync_with_develop(git_repo, branch_name, github_account, github_repo):
remote = create_remote(git_repo, github_account, github_repo, https=True)

# fetch latest version of develop branch
pull_out = git_repo.git.pull(remote.name, GITHUB_DEVELOP_BRANCH)
pull_out = git_repo.git.pull(remote.name, GITHUB_DEVELOP_BRANCH, no_rebase=True)
_log.debug("Output of 'git pull %s %s': %s", remote.name, GITHUB_DEVELOP_BRANCH, pull_out)

# fetch to make sure we can check out the 'develop' branch
Expand Down

0 comments on commit bfc96cb

Please sign in to comment.