Skip to content

Commit

Permalink
git: ignore 'rebase' attribute on inline switches
Browse files Browse the repository at this point in the history
This attribute has no affect on the viability of an inline SCM switch.
  • Loading branch information
jkloetzke committed Aug 2, 2024
1 parent 39bd3ed commit 14e8749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pym/bob/scm/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ def canSwitch(self, oldScm):
# Filter irrelevant properties
diff -= {"sslVerify", 'singleBranch', 'shallow',
'shallowSubmodules', "useBranchAndCommit",
"references", "dissociate", "retries"}
"references", "dissociate", "retries", "rebase"}

diff = set(prop for prop in diff if not prop.startswith("remote-"))

Expand Down

0 comments on commit 14e8749

Please sign in to comment.