Add --repository to tag commands

pmeunier
Dec 7, 2021, 2:10 PM
L3RCAPPKPURGFWF4TKDVIJRRMPJDMQAZ6T5CITGMS7KP5ROZ7IWAC

Dependencies

  • [2] FZ7MXL3B Allow to use short tag hashes
  • [3] EUZFFJSO Updating Pijul with the latest changes in Libpijul
  • [4] AAXP2534 Tags: completing the subcommand
  • [5] A3RM526Y Integrating identity malleability
  • [6] QL6K2ZM3 Tags
  • [7] RUBBHYZ7 Removing unnecessary async/await
  • [8] PIQCNEEB Upgrading to Clap 3.0.0-alpha.5

Change contents

  • edit in pijul/src/commands/tag.rs at line 14
    [4.373][4.373:604]()
    /// 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
    [4.764]
    [4.764]
    /// 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
    [4.1249]
    [4.1249]
    /// 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
    [4.1582][4.13465:13528]()
    let mut repo = Repository::find_root(self.repo_path)?;
  • edit in pijul/src/commands/tag.rs at line 60
    [4.71]
    [4.1712]
    repo_path,
  • edit in pijul/src/commands/tag.rs at line 66
    [4.92]
    [3.2428]
    let mut repo = Repository::find_root(repo_path)?;
  • edit in pijul/src/commands/tag.rs at line 113
    [2.40]
    [2.40]
    repo_path,
  • edit in pijul/src/commands/tag.rs at line 117
    [2.113]
    [2.113]
    let repo = Repository::find_root(repo_path)?;
  • edit in pijul/src/commands/tag.rs at line 143
    [4.268]
    [4.440]
    let repo = Repository::find_root(None)?;