@@ -27,7 +27,7 @@ pub struct Info {
27
27
last_change : String ,
28
28
repo : String ,
29
29
commits : String ,
30
- changes : String ,
30
+ pending : String ,
31
31
repo_size : String ,
32
32
number_of_lines : usize ,
33
33
license : String ,
@@ -192,11 +192,11 @@ impl std::fmt::Display for Info {
192
192
) ?;
193
193
}
194
194
195
- if !self . disable_fields . changes && self . changes != "" {
195
+ if !self . disable_fields . pending && self . pending != "" {
196
196
write_buf (
197
197
& mut buf,
198
- & self . get_formatted_info_label ( "Changes : " , color) ,
199
- & self . changes ,
198
+ & self . get_formatted_info_label ( "Pending : " , color) ,
199
+ & self . pending ,
200
200
) ?;
201
201
}
202
202
@@ -313,7 +313,7 @@ impl Info {
313
313
let ( git_v, git_user) = Info :: get_git_info ( workdir_str) ;
314
314
let version = Info :: get_version ( workdir_str) ?;
315
315
let commits = Info :: get_commits ( workdir_str, no_merges) ?;
316
- let changes = Info :: get_pending_changes ( workdir_str) ?;
316
+ let pending = Info :: get_pending_pending ( workdir_str) ?;
317
317
let repo_size = Info :: get_packed_size ( workdir_str) ?;
318
318
let last_change = Info :: get_last_change ( workdir_str) ?;
319
319
let creation_date = Info :: get_creation_time ( workdir_str) ?;
@@ -334,7 +334,7 @@ impl Info {
334
334
last_change,
335
335
repo : config. repository_url ,
336
336
commits,
337
- changes ,
337
+ pending ,
338
338
repo_size,
339
339
number_of_lines,
340
340
license : project_license,
@@ -513,7 +513,7 @@ impl Info {
513
513
}
514
514
}
515
515
516
- fn get_pending_changes ( dir : & str ) -> Result < String > {
516
+ fn get_pending_pending ( dir : & str ) -> Result < String > {
517
517
let output = Command :: new ( "git" )
518
518
. arg ( "-C" )
519
519
. arg ( dir)
0 commit comments