@@ -17,7 +17,7 @@ pub struct Args {
17
17
///
18
18
/// For example, if `key` is `core.abbrev`, set configuration like `[core] abbrev = key`,
19
19
/// or `remote.origin.url = foo` to set `[remote "origin"] url = foo`.
20
- #[ clap( long, short = 'c' , value_parser = gitoxide :: shared:: AsBString ) ]
20
+ #[ clap( long, short = 'c' , value_parser = crate :: shared:: AsBString ) ]
21
21
pub config : Vec < BString > ,
22
22
23
23
#[ clap( long, short = 't' ) ]
@@ -64,12 +64,12 @@ pub struct Args {
64
64
long,
65
65
short = 'f' ,
66
66
default_value = "human" ,
67
- value_parser = gitoxide :: shared:: AsOutputFormat
67
+ value_parser = crate :: shared:: AsOutputFormat
68
68
) ]
69
69
pub format : core:: OutputFormat ,
70
70
71
71
/// The object format to assume when reading files that don't inherently know about it, or when writing files.
72
- #[ clap( long, default_value_t = gix:: hash:: Kind :: default ( ) , value_parser = gitoxide :: shared:: AsHashKind ) ]
72
+ #[ clap( long, default_value_t = gix:: hash:: Kind :: default ( ) , value_parser = crate :: shared:: AsHashKind ) ]
73
73
pub object_hash : gix:: hash:: Kind ,
74
74
75
75
#[ clap( subcommand) ]
@@ -201,7 +201,7 @@ pub mod archive {
201
201
}
202
202
203
203
pub mod status {
204
- use gitoxide :: shared:: { CheckPathSpec , ParseRenameFraction } ;
204
+ use crate :: shared:: { CheckPathSpec , ParseRenameFraction } ;
205
205
use gix:: bstr:: BString ;
206
206
207
207
#[ derive( Default , Debug , Copy , Clone , PartialEq , Eq , PartialOrd , Ord , clap:: ValueEnum ) ]
@@ -320,7 +320,7 @@ pub mod config {
320
320
///
321
321
/// Typical filters are `branch` or `remote.origin` or `remote.or*` - git-style globs are supported
322
322
/// and comparisons are case-insensitive.
323
- #[ clap( value_parser = gitoxide :: shared:: AsBString ) ]
323
+ #[ clap( value_parser = crate :: shared:: AsBString ) ]
324
324
pub filter : Vec < BString > ,
325
325
}
326
326
}
@@ -359,7 +359,7 @@ pub mod fetch {
359
359
pub remote : Option < String > ,
360
360
361
361
/// Override the built-in and configured ref-specs with one or more of the given ones.
362
- #[ clap( value_parser = gitoxide :: shared:: AsBString ) ]
362
+ #[ clap( value_parser = crate :: shared:: AsBString ) ]
363
363
pub ref_spec : Vec < gix:: bstr:: BString > ,
364
364
}
365
365
@@ -374,11 +374,11 @@ pub mod fetch {
374
374
pub deepen : Option < u32 > ,
375
375
376
376
/// Cutoff all history past the given date. Can be combined with shallow-exclude.
377
- #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = gitoxide :: shared:: AsTime , value_name = "DATE" , conflicts_with_all = [ "depth" , "deepen" , "unshallow" ] ) ]
377
+ #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = crate :: shared:: AsTime , value_name = "DATE" , conflicts_with_all = [ "depth" , "deepen" , "unshallow" ] ) ]
378
378
pub shallow_since : Option < gix:: date:: Time > ,
379
379
380
380
/// Cutoff all history past the tag-name or ref-name. Can be combined with shallow-since.
381
- #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = gitoxide :: shared:: AsPartialRefName , value_name = "REF_NAME" , conflicts_with_all = [ "depth" , "deepen" , "unshallow" ] ) ]
381
+ #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = crate :: shared:: AsPartialRefName , value_name = "REF_NAME" , conflicts_with_all = [ "depth" , "deepen" , "unshallow" ] ) ]
382
382
pub shallow_exclude : Vec < gix:: refs:: PartialName > ,
383
383
384
384
/// Remove the shallow boundary and fetch the entire history available on the remote.
@@ -445,11 +445,11 @@ pub mod clone {
445
445
pub depth : Option < NonZeroU32 > ,
446
446
447
447
/// Cutoff all history past the given date. Can be combined with shallow-exclude.
448
- #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = gitoxide :: shared:: AsTime , value_name = "DATE" ) ]
448
+ #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = crate :: shared:: AsTime , value_name = "DATE" ) ]
449
449
pub shallow_since : Option < gix:: date:: Time > ,
450
450
451
451
/// Cutoff all history past the tag-name or ref-name. Can be combined with shallow-since.
452
- #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = gitoxide :: shared:: AsPartialRefName , value_name = "REF_NAME" ) ]
452
+ #[ clap( long, help_heading = Some ( "SHALLOW" ) , value_parser = crate :: shared:: AsPartialRefName , value_name = "REF_NAME" ) ]
453
453
pub shallow_exclude : Vec < gix:: refs:: PartialName > ,
454
454
}
455
455
@@ -501,7 +501,7 @@ pub mod remote {
501
501
#[ clap( long, short = 'u' ) ]
502
502
show_unmapped_remote_refs : bool ,
503
503
/// Override the built-in and configured ref-specs with one or more of the given ones.
504
- #[ clap( value_parser = gitoxide :: shared:: AsBString ) ]
504
+ #[ clap( value_parser = crate :: shared:: AsBString ) ]
505
505
ref_spec : Vec < gix:: bstr:: BString > ,
506
506
} ,
507
507
}
@@ -517,7 +517,7 @@ pub mod mailmap {
517
517
518
518
#[ cfg( feature = "gitoxide-core-tools-clean" ) ]
519
519
pub mod clean {
520
- use gitoxide :: shared:: CheckPathSpec ;
520
+ use crate :: shared:: CheckPathSpec ;
521
521
use gix:: bstr:: BString ;
522
522
523
523
#[ derive( Default , Debug , Copy , Clone , PartialEq , Eq , PartialOrd , Ord , clap:: ValueEnum ) ]
@@ -787,7 +787,7 @@ pub mod revision {
787
787
}
788
788
789
789
pub mod attributes {
790
- use gitoxide :: shared:: CheckPathSpec ;
790
+ use crate :: shared:: CheckPathSpec ;
791
791
use gix:: bstr:: BString ;
792
792
793
793
#[ derive( Debug , clap:: Subcommand ) ]
@@ -817,7 +817,7 @@ pub mod attributes {
817
817
pub mod exclude {
818
818
use std:: ffi:: OsString ;
819
819
820
- use gitoxide :: shared:: CheckPathSpec ;
820
+ use crate :: shared:: CheckPathSpec ;
821
821
use gix:: bstr:: BString ;
822
822
823
823
#[ derive( Debug , clap:: Subcommand ) ]
@@ -847,7 +847,7 @@ pub mod exclude {
847
847
pub mod index {
848
848
use std:: path:: PathBuf ;
849
849
850
- use gitoxide :: shared:: CheckPathSpec ;
850
+ use crate :: shared:: CheckPathSpec ;
851
851
use gix:: bstr:: BString ;
852
852
853
853
pub mod entries {
0 commit comments