Showing the changes to src (1 of 4 files). Show all
Unified · Split
| @@ -161,7 +161,16 @@ pub fn main() -> Result<()> { · 160 unmodified lines | ||
| 161 | 161 | let repository = git::ThreadSafeRepository::discover(repository)?; |
| 162 | 162 | match cmd { |
| 163 | 163 | repo::Subcommands::Revision { cmd } => match cmd { |
| 164 | − repo::revision::Subcommands::Explain { spec: _ } => todo!("describe spec"), | |
| 164 | + repo::revision::Subcommands::Explain { spec } => prepare_and_run( | |
| 165 | + "repository-commit-describe", | |
| 166 | + verbose, | |
| 167 | + progress, | |
| 168 | + progress_keep_open, | |
| 169 | + None, | |
| 170 | + move |_progress, out, err| { | |
| 171 | + core::repository::revision::explain(repository.into(), spec, out, err) | |
| 172 | + }, | |
| 173 | + ), | |
| 165 | 174 | }, |
| 166 | 175 | repo::Subcommands::Commit { cmd } => match cmd { |
| 167 | 176 | repo::commit::Subcommands::Describe { |