@@ -10,6 +10,9 @@ enum Usage {
1010 Planned {
1111 note : Option < & ' static str > ,
1212 } ,
13+ NotPlanned {
14+ reason : & ' static str ,
15+ } ,
1316 InModule {
1417 name : & ' static str ,
1518 deviation : Option < & ' static str > ,
@@ -24,6 +27,10 @@ impl Display for Usage {
2427 match self {
2528 Puzzled => f. write_str ( "❓" ) ?,
2629 NotApplicable => f. write_str ( "not applicable" ) ?,
30+ NotPlanned { reason } => {
31+ write ! ( f, "{}" , "not planned" . blink( ) ) ?;
32+ write ! ( f, " ℹ {} ℹ" , reason. bright_white( ) ) ?;
33+ }
2734 Planned { note } => {
2835 write ! ( f, "{}" , "planned" . blink( ) ) ?;
2936 if let Some ( note) = note {
@@ -47,6 +54,7 @@ impl Usage {
4754 Puzzled => "?" ,
4855 NotApplicable => "❌" ,
4956 Planned { .. } => "🕒" ,
57+ NotPlanned { .. } => "🤔" ,
5058 InModule { deviation, .. } => deviation. is_some ( ) . then ( || "👌️" ) . unwrap_or ( "✅" ) ,
5159 }
5260 }
@@ -190,6 +198,24 @@ static GIT_CONFIG: &[Record] = &[
190198 deviation : Some ( "defaults to 'gitoxide@localhost'" ) ,
191199 } ,
192200 } ,
201+ Record {
202+ config : "clone.filterSubmodules," ,
203+ usage : Planned {
204+ note : Some ( "currently object filtering isn't support, a prerequisite for this, see --filter=blob:none for more" ) ,
205+ } ,
206+ } ,
207+ Record {
208+ config : "clone.defaultRemoteName" ,
209+ usage : Planned {
210+ note : None ,
211+ } ,
212+ } ,
213+ Record {
214+ config : "clone.rejectShallow" ,
215+ usage : NotPlanned {
216+ reason : "it's not a use-case we consider important now, but once that changes it can be implemented" ,
217+ } ,
218+ } ,
193219 Record {
194220 config : "fetch.recurseSubmodules" ,
195221 usage : Planned {
0 commit comments