Add --repository to tag commands
Dependencies
- [2]
FZ7MXL3BAllow to use short tag hashes - [3]
EUZFFJSOUpdating Pijul with the latest changes in Libpijul - [4]
AAXP2534Tags: completing the subcommand - [5]
A3RM526YIntegrating identity malleability - [6]
QL6K2ZM3Tags - [7]
RUBBHYZ7Removing unnecessary async/await - [8]
PIQCNEEBUpgrading to Clap 3.0.0-alpha.5
Change contents
- edit in pijul/src/commands/tag.rs at line 14
/// Set the repository where this command should run. Defaults to/// the first ancestor of the current directory that contains a/// `.pijul` directory.#[clap(long = "repository")]repo_path: Option<PathBuf>, - edit in pijul/src/commands/tag.rs at line 23
/// Set the repository where this command should run. Defaults to/// the first ancestor of the current directory that contains a/// `.pijul` directory.#[clap(long = "repository")]repo_path: Option<PathBuf>, - edit in pijul/src/commands/tag.rs at line 42
/// Set the repository where this command should run. Defaults to/// the first ancestor of the current directory that contains a/// `.pijul` directory.#[clap(long = "repository")]repo_path: Option<PathBuf>, - edit in pijul/src/commands/tag.rs at line 58
let mut repo = Repository::find_root(self.repo_path)?; - edit in pijul/src/commands/tag.rs at line 60
repo_path, - edit in pijul/src/commands/tag.rs at line 66
let mut repo = Repository::find_root(repo_path)?; - edit in pijul/src/commands/tag.rs at line 113
repo_path, - edit in pijul/src/commands/tag.rs at line 117
let repo = Repository::find_root(repo_path)?; - edit in pijul/src/commands/tag.rs at line 143
let repo = Repository::find_root(None)?;