Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct Cli {

#[derive(Subcommand)]
enum Commands {
Sync { slug: Option<String> },
Fetch,
Status,
}

Expand Down
3 changes: 2 additions & 1 deletion ui/tui/src/investigations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub(crate) enum WorktreeSpec {
/// `project` is the directory name under `~/.hub/repos/`.
Ephemeral { project: String },
/// Use the process's current directory (MediaBlocked, last-resort fallback).
#[allow(dead_code)]
#[cfg(feature = "private")]
CurrentDir,
}

Expand Down Expand Up @@ -224,6 +224,7 @@ async fn resolve_worktree(
);
Ok((worktree, Some(cleanup)))
}
#[cfg(feature = "private")]
WorktreeSpec::CurrentDir => {
let cwd = std::env::current_dir().context("Cannot determine working directory")?;
Ok((cwd, None))
Expand Down
Loading