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 bea3ac3 commit 6c4a7f5Copy full SHA for 6c4a7f5
crates/gitbutler-stack/src/stack.rs
@@ -564,13 +564,13 @@ impl Stack {
564
565
let state = branch_state(ctx);
566
let gix_repo = ctx.gix_repository()?;
567
- let stack_head = self.head(&gix_repo)?;
+ // let stack_head = self.head(&gix_repo)?;
568
let head = self
569
.heads
570
.last_mut()
571
.ok_or_else(|| anyhow!("Invalid state: no heads found"))?;
572
head.set_head(commit.into(), &gix_repo)?;
573
- validate_target(head.head_oid(&gix_repo)?, ctx.repo(), stack_head, &state)?;
+ // validate_target(head.head_oid(&gix_repo)?, ctx.repo(), stack_head, &state)?;
574
state.set_stack(self.clone())
575
}
576
0 commit comments