summaryrefslogtreecommitdiff
path: root/makima/src/daemon/storage/patch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/daemon/storage/patch.rs')
-rw-r--r--makima/src/daemon/storage/patch.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/makima/src/daemon/storage/patch.rs b/makima/src/daemon/storage/patch.rs
index 05c45a3..c9bc6f5 100644
--- a/makima/src/daemon/storage/patch.rs
+++ b/makima/src/daemon/storage/patch.rs
@@ -387,6 +387,7 @@ fn parse_diff_stat(stat_output: &str) -> (usize, usize) {
}
/// Checkout a specific commit in the worktree.
+#[allow(dead_code)]
pub async fn checkout_commit(worktree_path: &Path, sha: &str) -> Result<(), PatchError> {
let output = Command::new("git")
.current_dir(worktree_path)