Skip to content

Commit

Permalink
Merge pull request #1471 from EliahKagan/hidden
Browse files Browse the repository at this point in the history
Improve help text about hidden repos
  • Loading branch information
Byron authored Jul 26, 2024
2 parents 348b9bf + 6eb4ea6 commit a9aac4f
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit a9aac4f

Please sign in to comment.