@@ -111,7 +111,7 @@ sub read_commit_log {
111
111
return $author_info ;
112
112
}
113
113
114
- sub read_authors {
114
+ sub read_authors_file {
115
115
my ($self )= @_ ;
116
116
my $authors_file = $self -> {authors_file };
117
117
@@ -168,7 +168,7 @@ sub read_authors {
168
168
return (\%author_info , \@authors_preamble , $raw_text );
169
169
}
170
170
171
- sub update_authors {
171
+ sub update_authors_file {
172
172
my ($self )= @_ ;
173
173
174
174
my $author_info = $self -> {author_info };
@@ -217,7 +217,7 @@ sub update_authors {
217
217
}
218
218
}
219
219
220
- sub read_mailmap {
220
+ sub read_mailmap_file {
221
221
my ($self )= @_ ;
222
222
my $mailmap_file = $self -> {mailmap_file };
223
223
@@ -280,7 +280,7 @@ sub __sorted_hash_keys {
280
280
}
281
281
282
282
# Returns 0 if the file needed to be changed, Return 1 if it does not.
283
- sub update_mailmap {
283
+ sub update_mailmap_file {
284
284
my ($self )= @_ ;
285
285
my $mailmap_hash = $self -> {new_mailmap_hash };
286
286
my $mailmap_preamble = $self -> {mailmap_preamble };
@@ -537,29 +537,29 @@ sub read_and_update {
537
537
%{$self }{qw( authors_file mailmap_file) };
538
538
539
539
# read the authors file and extract the info it contains
540
- $self -> read_authors ();
540
+ $self -> read_authors_file ();
541
541
542
542
# read the mailmap file.
543
- $self -> read_mailmap ();
543
+ $self -> read_mailmap_file ();
544
544
545
545
# check and possibly fix the mailmap data, and build a set of precomputed
546
546
# datasets to work with it.
547
547
$self -> check_fix_mailmap_hash();
548
548
549
549
# update the mailmap based on any check or fixes we just did.
550
- $self -> update_mailmap ();
550
+ $self -> update_mailmap_file ();
551
551
552
552
# read the commits names using git log, and compares and checks
553
553
# them against the data we have in authors.
554
554
$self -> read_commit_log();
555
555
556
556
# update the authors file with any changes
557
- $self -> update_authors ();
557
+ $self -> update_authors_file ();
558
558
559
559
# check if we discovered new email data from the commits that
560
560
# we need to write back to disk.
561
561
$self -> add_new_mailmap_entries()
562
- and $self -> update_mailmap ();
562
+ and $self -> update_mailmap_file ();
563
563
564
564
return $self -> changed_count();
565
565
}
@@ -682,13 +682,13 @@ any new names it contains.
682
682
683
683
Normally used via C<read_and_update > and not called directly.
684
684
685
- =item read_authors ()
685
+ =item read_authors_file ()
686
686
687
687
Read the AUTHORS file into the object, and return data about it.
688
688
689
689
Normally used via C<read_and_update > and not called directly.
690
690
691
- =item read_mailmap ()
691
+ =item read_mailmap_file ()
692
692
693
693
Read the .mailmap file into the object and return data about it.
694
694
@@ -700,14 +700,14 @@ Read the exclusion file into the object and return data about it.
700
700
701
701
Normally used via C<read_and_update > and not called directly.
702
702
703
- =item update_authors ()
703
+ =item update_authors_file ()
704
704
705
705
Write out an updated AUTHORS file atomically if it has changed,
706
706
returns 0 if the file was actually updated, 1 if it was not.
707
707
708
708
Normally used via C<read_and_update > and not called directly.
709
709
710
- =item update_mailmap ()
710
+ =item update_mailmap_file ()
711
711
712
712
Write out an updated .mailmap file atomically if it has changed,
713
713
returns 0 if the file was actually updated, 1 if it was not.
0 commit comments