@@ -16,7 +16,7 @@ pub struct Args {
1616 ///
1717 /// For example, if `key` is `core.abbrev`, set configuration like `[core] abbrev = key`,
1818 /// or `remote.origin.url = foo` to set `[remote "origin"] url = foo`.
19- #[ clap( long, short = 'c' , value_parser = crate :: shared:: AsBString ) ]
19+ #[ clap( long, short = 'c' , value_parser = gitoxide :: shared:: AsBString ) ]
2020 pub config : Vec < BString > ,
2121
2222 #[ clap( long, short = 't' ) ]
@@ -63,12 +63,12 @@ pub struct Args {
6363 long,
6464 short = 'f' ,
6565 default_value = "human" ,
66- value_parser = crate :: shared:: AsOutputFormat
66+ value_parser = gitoxide :: shared:: AsOutputFormat
6767 ) ]
6868 pub format : core:: OutputFormat ,
6969
7070 /// The object format to assume when reading files that don't inherently know about it, or when writing files.
71- #[ clap( long, default_value_t = gix:: hash:: Kind :: default ( ) , value_parser = crate :: shared:: AsHashKind ) ]
71+ #[ clap( long, default_value_t = gix:: hash:: Kind :: default ( ) , value_parser = gitoxide :: shared:: AsHashKind ) ]
7272 pub object_hash : gix:: hash:: Kind ,
7373
7474 #[ clap( subcommand) ]
@@ -237,7 +237,7 @@ pub mod config {
237237 ///
238238 /// Typical filters are `branch` or `remote.origin` or `remote.or*` - git-style globs are supported
239239 /// and comparisons are case-insensitive.
240- #[ clap( value_parser = crate :: shared:: AsBString ) ]
240+ #[ clap( value_parser = gitoxide :: shared:: AsBString ) ]
241241 pub filter : Vec < BString > ,
242242 }
243243}
@@ -276,7 +276,7 @@ pub mod fetch {
276276 pub remote : Option < String > ,
277277
278278 /// Override the built-in and configured ref-specs with one or more of the given ones.
279- #[ clap( value_parser = crate :: shared:: AsBString ) ]
279+ #[ clap( value_parser = gitoxide :: shared:: AsBString ) ]
280280 pub ref_spec : Vec < gix:: bstr:: BString > ,
281281 }
282282
@@ -291,11 +291,11 @@ pub mod fetch {
291291 pub deepen : Option < u32 > ,
292292
293293 /// Cutoff all history past the given date. Can be combined with shallow-exclude.
294- #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = crate :: shared:: AsTime , value_name = "DATE" , conflicts_with_all = [ "depth" , "deepen" , "unshallow" ] ) ]
294+ #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = gitoxide :: shared:: AsTime , value_name = "DATE" , conflicts_with_all = [ "depth" , "deepen" , "unshallow" ] ) ]
295295 pub shallow_since : Option < gix:: date:: Time > ,
296296
297297 /// Cutoff all history past the tag-name or ref-name. Can be combined with shallow-since.
298- #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = crate :: shared:: AsPartialRefName , value_name = "REF_NAME" , conflicts_with_all = [ "depth" , "deepen" , "unshallow" ] ) ]
298+ #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = gitoxide :: shared:: AsPartialRefName , value_name = "REF_NAME" , conflicts_with_all = [ "depth" , "deepen" , "unshallow" ] ) ]
299299 pub shallow_exclude : Vec < gix:: refs:: PartialName > ,
300300
301301 /// Remove the shallow boundary and fetch the entire history available on the remote.
@@ -362,11 +362,11 @@ pub mod clone {
362362 pub depth : Option < NonZeroU32 > ,
363363
364364 /// Cutoff all history past the given date. Can be combined with shallow-exclude.
365- #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = crate :: shared:: AsTime , value_name = "DATE" ) ]
365+ #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = gitoxide :: shared:: AsTime , value_name = "DATE" ) ]
366366 pub shallow_since : Option < gix:: date:: Time > ,
367367
368368 /// Cutoff all history past the tag-name or ref-name. Can be combined with shallow-since.
369- #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = crate :: shared:: AsPartialRefName , value_name = "REF_NAME" ) ]
369+ #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = gitoxide :: shared:: AsPartialRefName , value_name = "REF_NAME" ) ]
370370 pub shallow_exclude : Vec < gix:: refs:: PartialName > ,
371371 }
372372
@@ -418,7 +418,7 @@ pub mod remote {
418418 #[ clap( long, short = 'u' ) ]
419419 show_unmapped_remote_refs : bool ,
420420 /// Override the built-in and configured ref-specs with one or more of the given ones.
421- #[ clap( value_parser = crate :: shared:: AsBString ) ]
421+ #[ clap( value_parser = gitoxide :: shared:: AsBString ) ]
422422 ref_spec : Vec < gix:: bstr:: BString > ,
423423 } ,
424424 }
@@ -594,7 +594,7 @@ pub mod revision {
594594pub mod attributes {
595595 use gix:: bstr:: BString ;
596596
597- use crate :: shared:: CheckPathSpec ;
597+ use gitoxide :: shared:: CheckPathSpec ;
598598
599599 #[ derive( Debug , clap:: Subcommand ) ]
600600 pub enum Subcommands {
@@ -625,7 +625,7 @@ pub mod exclude {
625625
626626 use gix:: bstr:: BString ;
627627
628- use crate :: shared:: CheckPathSpec ;
628+ use gitoxide :: shared:: CheckPathSpec ;
629629
630630 #[ derive( Debug , clap:: Subcommand ) ]
631631 pub enum Subcommands {
@@ -656,7 +656,7 @@ pub mod index {
656656
657657 use gix:: bstr:: BString ;
658658
659- use crate :: shared:: CheckPathSpec ;
659+ use gitoxide :: shared:: CheckPathSpec ;
660660
661661 pub mod entries {
662662 #[ derive( Default , Debug , Copy , Clone , PartialEq , Eq , PartialOrd , Ord , clap:: ValueEnum ) ]
0 commit comments