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.
2 parents e574ebc + b633250 commit 1c1d4ecCopy full SHA for 1c1d4ec
crates/but-tools/src/workspace.rs
@@ -679,7 +679,7 @@ pub struct CreateBlankCommitParameters {
679
This should be the ID of an existinf commit in the stack.
680
</important_notes>
681
")]
682
- pub commit_id: String,
+ pub parent_id: String,
683
}
684
685
impl Tool for CreateBlankCommit {
@@ -730,7 +730,7 @@ pub fn create_blank_commit(
730
params: CreateBlankCommitParameters,
731
) -> Result<Vec<(gix::ObjectId, gix::ObjectId)>, anyhow::Error> {
732
let stack_id = StackId::from_str(¶ms.stack_id)?;
733
- let commit_oid = gix::ObjectId::from_str(¶ms.commit_id)?;
+ let commit_oid = gix::ObjectId::from_str(¶ms.parent_id)?;
734
let commit_oid = commit_oid.to_git2();
735
736
let message = format!(
0 commit comments