Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve help text about hidden repos #1471

Merged
merged 3 commits into from
Jul 26, 2024
Merged
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
5 changes: 4 additions & 1 deletion src/plumbing/options/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ pub mod clean {
/// Remove whole directories.
#[arg(long, short = 'd')]
pub directories: bool,
/// Remove nested repositories.
/// Remove nested repositories, even outside ignored directories.
#[arg(long, short = 'r')]
pub repositories: bool,
/// Pathspec patterns are used to match the result of the dirwalk, not the dirwalk itself.
Expand All @@ -593,6 +593,9 @@ pub mod clean {
#[arg(long, short = 'm')]
pub pathspec_matches_result: bool,
/// Enter ignored directories to skip repositories contained within.
///
/// This identifies and avoids deleting separate repositories that are nested inside
/// ignored directories eligible for removal.
#[arg(long)]
pub skip_hidden_repositories: Option<FindRepository>,
/// What kind of repositories to find inside of untracked directories.
Expand Down
Loading