@@ -13,6 +13,7 @@ use git_repository::bstr::io::BufReadExt;
1313use gitoxide_core as core;
1414use gitoxide_core:: pack:: verify;
1515
16+ use crate :: plumbing:: options:: revision;
1617use crate :: {
1718 plumbing:: options:: { free, repo, Args , Subcommands } ,
1819 shared:: pretty:: prepare_and_run,
@@ -473,17 +474,17 @@ pub fn main() -> Result<()> {
473474 } ,
474475 } ,
475476 } ,
477+ Subcommands :: Revision { cmd } => match cmd {
478+ revision:: Subcommands :: Explain { spec } => prepare_and_run (
479+ "repository-commit-describe" ,
480+ verbose,
481+ progress,
482+ progress_keep_open,
483+ None ,
484+ move |_progress, out, _err| core:: repository:: revision:: explain ( repository ( ) ?. into ( ) , spec, out) ,
485+ ) ,
486+ } ,
476487 Subcommands :: Repository ( repo:: Platform { cmd } ) => match cmd {
477- repo:: Subcommands :: Revision { cmd } => match cmd {
478- repo:: revision:: Subcommands :: Explain { spec } => prepare_and_run (
479- "repository-commit-describe" ,
480- verbose,
481- progress,
482- progress_keep_open,
483- None ,
484- move |_progress, out, _err| core:: repository:: revision:: explain ( repository ( ) ?. into ( ) , spec, out) ,
485- ) ,
486- } ,
487488 repo:: Subcommands :: Commit { cmd } => match cmd {
488489 repo:: commit:: Subcommands :: Describe {
489490 annotated_tags,
0 commit comments