We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924cc5d commit e4834dbCopy full SHA for e4834db
crates/gitbutler-repo/src/rebase.rs
@@ -61,6 +61,10 @@ pub fn cherry_rebase_group(
61
|head, to_rebase| {
62
let head = head?;
63
64
+ if to_rebase.parent_ids().len() == 1 && head.id() == to_rebase.parent_id(0)? {
65
+ return Ok(to_rebase);
66
+ };
67
+
68
let cherrypick_index = repository
69
.cherry_pick_gitbutler(&head, &to_rebase, None)
70
.context("failed to cherry pick")?;
0 commit comments