Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #13441: quality assistant may fail to detecte fixups #415

Conversation

peckpeck
Copy link
Member

@@ -1432,7 +1432,7 @@ def merge_version(old, new, strategy=None, automatic=False, test=False, run_test
# Squash commits in PR if necessary
def pre_merge_squash(version, pr_branch, pr, test=False):
pull(version)
log = shell("git log --oneline " + pr.base_branch() + ".." + pr_branch, keep_output=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you just keep %s, you can simplify the if below (we do not need the hash )

@peckpeck peckpeck force-pushed the bug_13441/quality_assistant_may_fail_to_detecte_fixups branch from 701ad17 to 9a1e59a Compare September 13, 2018 07:30
@peckpeck
Copy link
Member Author

Commit modified

@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 9a1e59a into Normation:master Sep 13, 2018
@peckpeck peckpeck deleted the bug_13441/quality_assistant_may_fail_to_detecte_fixups branch July 13, 2020 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants