3 # update-all-config.pl - Update all out-of-date config
8 BEGIN {*VERSION = \'2.0'}
15 use lib
"__BASEDIR__";
23 $shbin = $Girocco::Config
::posix_sh_bin
;
24 defined($shbin) && $shbin ne "" or $shbin = "/bin/sh";
27 exit(&main
(@ARGV)||0);
29 my ($dryrun, $force, $quiet);
32 pod2usage
(-exitval
=> 2);
36 pod2usage
(-verbose
=> 2, -exitval
=> 0);
40 print basename
($0), " version ", $VERSION, "\n";
44 my ($dmode, $dperm, $drwxmode, $fmode, $fmodeoct, $fperm, $wall);
48 $drwxmode='ug+rwx,o+rx';
56 my $htmlcache_owning_group_id;
57 my $ctags_owning_group_id;
64 close(DATA
) if fileno(DATA
);
65 Getopt
::Long
::Configure
('bundling');
67 'help|h' => sub {do_help
},
68 'version|V' => sub {do_version
},
69 'dry-run|n' => \
$dryrun,
73 $dryrun and $quiet = 0;
75 -f jailed_file
("/etc/group") or
76 die "Girocco group file not found: " . jailed_file
("/etc/group") . "\n";
78 if (!defined($Girocco::Config
::owning_group
) || $Girocco::Config
::owning_group
eq "") {
79 die "\$Girocco::Config::owning_group unset, refusing to run without --force\n" unless $force;
87 warn "Mode 666 in effect\n" unless $quiet;
88 } elsif (($owning_group_id = scalar(getgrnam($Girocco::Config
::owning_group
))) !~ /^\d+$/) {
89 die "\$Girocco::Config::owning_group invalid ($Girocco::Config::owning_group), refusing to run\n";
91 if (defined($owning_group_id) && $Girocco::Config
::htmlcache_owning_group
) {
92 die "\$Girocco::Config::htmlcache_owning_group invalid ($Girocco::Config::htmlcache_owning_group), refusing to run\n"
93 unless ($htmlcache_owning_group_id = scalar(getgrnam($Girocco::Config
::htmlcache_owning_group
))) =~ /^\d+$/;
95 if (defined($owning_group_id) && $Girocco::Config
::ctags_owning_group
) {
96 die "\$Girocco::Config::ctags_owning_group invalid ($Girocco::Config::ctags_owning_group), refusing to run\n"
97 unless ($ctags_owning_group_id = scalar(getgrnam($Girocco::Config
::ctags_owning_group
))) =~ /^\d+$/;
100 my @allprojs = Girocco
::Project
::get_full_list
;
103 my $root = $Girocco::Config
::reporoot
;
104 $root or die "\$Girocco::Config::reporoot is invalid\n";
106 $root ne "" or $root = "/";
107 $root = realpath
($root);
109 my %projnames = map {($_ => 1)} @allprojs;
113 -d
$_ and $_ = realpath
($_);
116 if (!exists($projnames{$_})) {
117 warn "$_: unknown to Girocco (not in etc/group)\n"
124 @projects = sort {lc($a) cmp lc($b)} @allprojs;
129 foreach (@projects) {
130 my $projdir = "$root/$_.git";
132 warn "$_: does not exist -- skipping\n" unless $quiet;
135 if (!is_git_dir
($projdir)) {
136 warn "$_: is not a .git directory -- skipping\n" unless $quiet;
139 if (-e
"$projdir/.noconfig") {
140 warn "$_: found .noconfig -- skipping\n" unless $quiet;
143 if (!chdir($projdir)) {
144 warn "$_: chdir to project directory failed: $!\n" unless $quiet;
147 process_one_project
($_) or $bad = 1;
153 my (@mkdirs, @mkfiles);
154 my (@fixdpermsdirs, @fixdpermsrwx, @fixfpermsfiles, @fixfpermsdirs);
156 @mkdirs = qw(refs info hooks ctags htmlcache bundles reflogs objects objects/info);
157 @mkfiles = qw(config info/lastactivity);
158 @fixdpermsdirs = qw(. refs info ctags htmlcache bundles reflogs objects objects/info);
159 @fixdpermsrwx = qw(refs objects);
160 @fixfpermsfiles = qw(HEAD config description packed-refs README.html info/lastactivity
161 info/alternates info/http-alternates info/packs);
162 @fixfpermsdirs = qw(ctags);
165 my (@boolvars, @falsevars, @false0vars, @truevars);
167 @boolvars = qw(gitweb.statusupdates);
168 @falsevars = qw(core.ignorecase receive.denynonfastforwards);
169 @false0vars = qw(receive.autogc);
170 @truevars = qw(receive.fsckobjects receive.updateserverinfo repack.writebitmaps transfer.fsckobjects);
176 return defined($_[0]) ?
$_[0] : $_[1];
183 open $duperr, '>&2' or last;
184 my $errfd = POSIX
::open(File
::Spec
->devnull, &POSIX
::O_RDWR
);
185 defined($errfd) or close($duperr), $duperr = undef, last;
186 POSIX
::dup2
($errfd, 2) or close($duperr), $duperr = undef;
187 POSIX
::close($errfd);
190 my $ans = open $fd, '-|', "find", @_;
191 if ($noe && defined($duperr) && defined(fileno($duperr))) {
192 POSIX
::dup2
(fileno($duperr), 2);
195 $ans or die "find failed: $!\n";
199 sub openfind
{ return openfind_
(0, @_); }
200 sub openfindne
{ return openfind_
(1, @_); }
206 my ($i,$r) = (index($_,"."),rindex($_,"."));
207 substr($_,$i+1,$r-$i-1);
208 } grep(/^remote\.[^.].*\.url$/i, keys(%$config)));
211 sub has_default_fetch_spec
214 my $default = $config->{'remotes.default'};
215 my @remotes = defined($default) ?
split(' ', $default) : all_remotes
($config);
217 defval
($config->{"remote.$_.url"},"") ne "" or next;
218 !defined($default) && git_bool
($config->{"remote.$_.skipdefaultupdate"}) and next;
219 defval
($config->{"remote.$_.fetch"},"") ne "" and return 1;
224 sub is_native_git_mirror_url
227 defined($bu) && $bu ne "" or return 0;
228 # All current or former natively supported by Git URLs return true:
229 # 1. rsync: (removed in 2.8.0, also recognize rsync+ and rsync::)
230 # 2. ftp:/ftps: (strongly discouraged)
232 # 4. http:/https: (smart and non-smart)
234 # 6. scp-like ssh syntax [user@]host:[^:/]
241 (?
:[^\s
:\@
]+\@
)?
[^\s
:\@
+]+:(?
!\
/\/)[^\s
:\\]
245 sub process_one_project
254 warn "$proj: bypassing project, exists but not directory: $_\n" unless $quiet;
255 $reallybad = $bad = 1;
258 my $grpid = $owning_group_id;
259 $grpid = $htmlcache_owning_group_id
260 if $htmlcache_owning_group_id && $_ eq "htmlcache";
261 $grpid = $ctags_owning_group_id
262 if $ctags_owning_group_id && $_ eq "ctags";
263 do_mkdir
($proj, $_, $grpid) or $bad = 1, last;
267 return 0 if $reallybad;
269 -d
$_ && check_dperm
($proj, $_) or $bad = 1 foreach (@fixdpermsdirs);
270 my $fp = openfindne
(@fixdpermsrwx, qw(-xdev -type d ( ! -path objects/?? -o -prune ) ! -perm
), "-$drwxmode", "-print");
273 change_dpermrwx
($proj, $_) or $bad = 1;
275 close($fp) or $bad = 1;
276 $fp = openfind
(qw(. -xdev -type d ( ! -path ./objects/?? -o -prune ) ! -perm
-a
+rx
-print));
279 change_dpermrx
($proj, $_) or $bad = 1;
281 close($fp) or $bad = 1;
286 warn "$proj: bypassing project, exists but not file: $_\n" unless $quiet;
287 $reallybad = $bad = 1;
291 my $result = "(dryrun)";
295 open($tf, '>', $_) && close ($tf) or $result = "FAILED", $bad = 1;
297 pmsg
($proj, "$_: created", $result) unless $quiet;
300 return 0 if $reallybad;
302 $dryrun || check_fperm
($proj, "config") or $bad = 1;
303 my $config = read_config_file_hash
("config", !$quiet);
304 if (!defined($config)) {
305 warn "$proj: could not read config file -- skipping\n" unless $quiet;
309 my $do_config = sub {
310 my ($item, $val) = @_;
311 my $oldval = defval
($config->{$item},"");
312 my $result = "(dryrun)";
315 system($Girocco::Config
::git_bin
, "config", "--file", "config", "--replace-all", $item, $val) == 0 or
316 $result = "FAILED", $bad = 1;
318 if (!exists($config->{$item})) {
319 pmsg
($proj, "config $item: created \"$val\"", $result) unless $quiet;
321 pmsg
($proj, "config $item: \"$oldval\" -> \"$val\"", $result) unless $quiet;
324 my $do_config_unset = sub {
325 my ($item, $msg) = @_;
326 defined($msg) or $msg = "";
327 $msg eq "" or $msg = " " . $msg;
328 my $oldval = defval
($config->{$item},"");
329 my $result = "(dryrun)";
332 system($Girocco::Config
::git_bin
, "config", "--file", "config", "--unset-all", $item) == 0 or
333 $result = "FAILED", $bad = 1;
335 pmsg
($proj, "config $item: removed$msg \"$oldval\"", $result) unless $quiet;
338 my $repovers = $config->{'core.repositoryformatversion'};
339 if (!defined($repovers)) {
341 } elsif ($repovers =~ /^[2345]$/) {
342 pmsg
($proj, "WARNING: unknown core.repositoryformatversion value left unchanged: \"$repovers\"");
343 } elsif ($repovers !~ /^[01]$/) {
344 pmsg
($proj, "WARNING: replacing invalid core.repositoryformatversion value: \"$repovers\"") unless $quiet;
347 &$do_config('core.repositoryformatversion', 0) if $repovers eq "";
348 my $hookspath = $Girocco::Config
::reporoot
. "/_global/hooks";
349 my $cfghooks = defval
($config->{'core.hookspath'},"");
350 if ($cfghooks ne $hookspath) {
351 my $updatehookspath = 1;
352 $hookspath = $Girocco::Config
::reporoot
. "/$proj.git/hooks" if $Girocco::Config
::localhooks
;
353 if ($cfghooks =~ m{^/[^/]} && -d
$cfghooks && -d
"hooks") {
354 # tolerate this situation provided the realpath of $cfghooks
355 # matches the realpath of the hooks subdirectory and the hooks
356 # subdirectory exists; actually making sure the correct symlinks
357 # are present remains up to update-all-hooks not us
358 if (realpath
($cfghooks) eq realpath
("hooks")) {
359 # we do, however, insist that it be stored exactly
360 # as $reporoot/<project_name>.git/hooks in this case because
361 # that's the only guaranteed version that works in the chroot
362 $hookspath = $Girocco::Config
::reporoot
. "/$proj.git/hooks";
363 $cfghooks eq $hookspath and $updatehookspath = 0;
366 &$do_config('core.hookspath', $hookspath) if $updatehookspath;
368 my $cmplvl = defval
($config->{'core.compression'},"");
369 if ($cmplvl !~ /^-?\d+$/ || $cmplvl < -1 || $cmplvl > 9 || "" . (0 + $cmplvl) ne "" . $cmplvl) {
370 pmsg
($proj, "WARNING: replacing invalid core.compression value: \"$cmplvl\"") unless $cmplvl eq "" || $quiet;
372 } elsif ($cmplvl != 5) {
373 pmsg
($proj, "WARNING: suboptimal core.compression value left unchanged: \"$cmplvl\"") unless $quiet;
375 $cmplvl ne "" or &$do_config('core.compression', 5);
376 my $grpshr = defval
($config->{'core.sharedrepository'},"");
377 if ($grpshr eq "" || (valid_bool
($grpshr) && !git_bool
($grpshr))) {
378 &$do_config('core.sharedrepository', 1);
379 } elsif (!(valid_bool
($grpshr) && git_bool
($grpshr))) {
380 pmsg
($proj, "WARNING: odd core.sharedrepository value left unchanged: \"$grpshr\"");
382 if (git_bool
($config->{'core.bare'})) {
384 my $laru = $config->{'core.logallrefupdates'};
385 if (defined($laru)) {
386 if (valid_bool
($laru)) {
388 if (git_bool
($laru)) {
389 pmsg
($proj, "WARNING: core.logallrefupdates is true (left unchanged)")
390 unless $quiet || -d
"worktrees";
393 pmsg
($proj, "WARNING: replacing non-boolean core.logallrefupdates value") unless $quiet;
396 !$setlaru or &$do_config('core.logallrefupdates', 'false');
398 pmsg
($proj, "WARNING: core.bare is not true (left unchanged)") unless $quiet;
400 my $precious = defval
($config->{'extensions.preciousobjects'},"");
401 valid_bool
($precious) && git_bool
($precious) or &$do_config('extensions.preciousobjects', 'true');
402 defval
($config->{'transfer.unpacklimit'},"") eq "1" or &$do_config('transfer.unpacklimit', 1);
403 lc(defval
($config->{'receive.denydeletecurrent'},"")) eq "warn" or &$do_config('receive.denydeletecurrent', 'warn');
405 !exists($config->{$_}) || valid_bool
(defval
($config->{$_},"")) or &$do_config_unset($_, "(not a boolean)");
406 } foreach (@boolvars);
408 (valid_bool
(defval
($config->{$_},"")) && !git_bool
($config->{$_})) or &$do_config($_, "false");
409 } foreach (@falsevars);
411 (valid_bool
(defval
($config->{$_},"")) && !git_bool
($config->{$_})) or &$do_config($_, 0);
412 } foreach (@false0vars);
414 (valid_bool
(defval
($config->{$_},"")) && git_bool
($config->{$_})) or &$do_config($_, "true");
415 } foreach (@truevars);
417 if (defined($Girocco::Config
::owning_group
) && $Girocco::Config
::owning_group
ne "") {
418 $fp = openfind
(qw(. -xdev ( -type d -o -type f ) ! -group
), $Girocco::Config
::owning_group
, "-print");
421 my $grpid = $owning_group_id;
422 $grpid = $htmlcache_owning_group_id if $htmlcache_owning_group_id && m{^\./htmlcache(?:/|$)}i;
423 $grpid = $ctags_owning_group_id if $ctags_owning_group_id && m{^\./ctags(?:/|$)}i;
424 change_group
($proj, $_, $grpid) or $bad = 1;
426 close($fp) or $bad = 1;
428 foreach (@fixfpermsfiles) {
431 warn "$proj: bypassing project, exists but not file: $_\n" unless $quiet;
432 $reallybad = $bad = 1;
435 check_fperm
($proj, $_) or $bad = 1;
438 return 0 if $reallybad;
440 $fp = openfindne
(@fixfpermsdirs, qw(-xdev -type f ! -perm), $fmodeoct, "-print");
443 check_fperm
($proj, $_) or $bad = 1;
445 close($fp) or $bad = 1;
446 $fp = openfind
(qw(. -xdev -type f ! -perm -a+r -print));
449 check_fpermr
($proj, $_) or $bad = 1;
451 close($fp) or $bad = 1;
452 $fp = openfind
(qw(. -xdev -type d ( -path ./hooks -o -path ./mob/hooks ) -prune
-o
-type f
-perm
+a
+x
-print));
455 check_fpermnox
($proj, $_) or $bad = 1;
457 close($fp) or $bad = 1;
459 my $bu = defval
($config->{'gitweb.baseurl'},"");
461 $bu eq "" or pmsg
($proj, "WARNING: .nofetch exists but gitweb.baseurl is not empty ($bu)") unless $quiet;
464 if (has_default_fetch_spec
($config)) {
465 pmsg
($proj, "WARNING: gitweb.baseurl is empty and .nofetch does not exist but fetch spec does") unless $quiet;
467 pmsg
($proj, "WARNING: gitweb.baseurl is empty and .nofetch does not exist") unless $quiet;
469 } elsif (is_native_git_mirror_url
($bu) && !has_default_fetch_spec
($config)) {
470 pmsg
($proj, "WARNING: gitweb.baseurl is not empty but fetch spec is") unless $quiet;
479 my ($proj, $subdir, $grpid) = @_;
482 mkdir($subdir) && -d
"$subdir" or $result = "FAILED";
483 if ($grpid && $grpid != $owning_group_id) {
484 my @info = stat($subdir);
485 if (@info < 6 || $info[2] eq "" || $info[4] eq "" || $info[5] eq "") {
487 } elsif ($info[5] != $grpid) {
488 if (!chown($info[4], $grpid, $subdir)) {
490 warn "chgrp: ($proj) $subdir: $!\n" unless $quiet;
491 } elsif (!chmod($info[2] & 07777, $subdir)) {
493 warn "chmod: ($proj) $subdir: $!\n" unless $quiet;
498 $result = "(dryrun)";
500 pmsg
($proj, "$subdir/: created", $result);
501 return $result ne "FAILED";
505 my ($proj, $subdir) = @_;
506 my $oldmode = (stat($subdir))[2];
507 if (!defined($oldmode) || $oldmode eq "") {
508 warn "chmod: ($proj) $subdir: No such file or directory\n" unless $quiet;
511 my $newmode = ($oldmode & ~07777) | $dmode;
512 $newmode == $oldmode and return 1;
515 if (!chmod($newmode & 07777, $subdir)) {
517 warn "chmod: ($proj) $subdir: $!\n" unless $quiet;
520 $result = "(dryrun)";
522 pmsg
($proj, "$subdir/:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
523 return $result ne "FAILED";
526 sub change_dpermrwx
{
527 my ($proj, $subdir) = @_;
528 my $oldmode = (stat($subdir))[2];
529 if (!defined($oldmode) || $oldmode eq "") {
530 warn "chmod: ($proj) $subdir: No such file or directory\n" unless $quiet;
533 my $newmode = $oldmode | ($wall ?
0777 : 0775);
534 $newmode == $oldmode and return 1;
537 if (!chmod($newmode & 07777, $subdir)) {
539 warn "chmod: ($proj) $subdir: $!\n" unless $quiet;
542 $result = "(dryrun)";
544 pmsg
($proj, "$subdir/:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
545 return $result ne "FAILED";
549 my ($proj, $subdir) = @_;
551 my $oldmode = (stat($subdir))[2];
552 if (!defined($oldmode) || $oldmode eq "") {
553 warn "chmod: ($proj) $subdir: No such file or directory\n" unless $quiet;
556 my $newmode = $oldmode | 0555;
557 $newmode == $oldmode and return 1;
560 if (!chmod($newmode & 07777, $subdir)) {
562 warn "chmod: ($proj) $subdir: $!\n" unless $quiet;
565 $result = "(dryrun)";
567 pmsg
($proj, "$subdir/:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
568 return $result ne "FAILED";
572 my ($proj, $file) = @_;
573 my $oldmode = (stat($file))[2];
574 if (!defined($oldmode) || $oldmode eq "") {
575 warn "chmod: ($proj) $file: No such file or directory\n" unless $quiet;
578 my $newmode = ($oldmode & ~07777) | $fmode;
579 $newmode == $oldmode and return 1;
582 if (!chmod($newmode & 07777, $file)) {
584 warn "chmod: ($proj) $file: $!\n" unless $quiet;
587 $result = "(dryrun)";
589 pmsg
($proj, "$file:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
590 return $result ne "FAILED";
594 my ($proj, $file) = @_;
596 my $oldmode = (stat($file))[2];
597 if (!defined($oldmode) || $oldmode eq "") {
598 warn "chmod: ($proj) $file: No such file or directory\n" unless $quiet;
601 my $newmode = $oldmode | 0444;
602 $newmode == $oldmode and return 1;
605 if (!chmod($newmode & 07777, $file)) {
607 warn "chmod: ($proj) $file: $!\n" unless $quiet;
610 $result = "(dryrun)";
612 pmsg
($proj, "$file:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
613 return $result ne "FAILED";
617 my ($proj, $file) = @_;
619 my $oldmode = (stat($file))[2];
620 if (!defined($oldmode) || $oldmode eq "") {
621 warn "chmod: ($proj) $file: No such file or directory\n" unless $quiet;
624 my $newmode = $oldmode & ~0111;
625 $newmode == $oldmode and return 1;
628 if (!chmod($newmode & 07777, $file)) {
630 warn "chmod: ($proj) $file: $!\n" unless $quiet;
633 $result = "(dryrun)";
635 pmsg
($proj, "$file:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
636 return $result ne "FAILED";
640 my ($proj, $item, $grpid) = @_;
642 my @info = stat($item);
643 if (@info < 6 || $info[2] eq "" || $info[4] eq "" || $info[5] eq "") {
644 warn "chgrp: ($proj) $item: No such file or directory\n" unless $quiet;
647 $info[5] == $grpid and return 1;
650 if (!chown($info[4], $grpid, $item)) {
652 warn "chgrp: ($proj) $item: $!\n" unless $quiet;
653 } elsif (!chmod($info[2] & 07777, $item)) {
655 warn "chmod: ($proj) $item: $!\n" unless $quiet;
658 $result = "(dryrun)";
660 my $isdir = ((($info[2] >> 12) & 017) == 004) ?
'/' : '';
661 pmsg
($proj, "$item$isdir: group", get_grp_nam
($info[5]), '->', get_grp_nam
($grpid), $result);
662 return $result ne "FAILED";
665 my $wrote; BEGIN {$wrote = ""}
668 my $msg = join(" ", @_);
672 $prefix = $wrote . $proj . ":\n";
675 print $prefix, " ", join(' ', @_), "\n";
712 my $str = $ftypes{($mode >> 12) & 017} .
713 $fperms{($mode >> 6) & 7} .
714 $fperms{($mode >> 3) & 7} .
716 substr($str,3,1) = ($mode & 0100) ?
's' : 'S' if $mode & 04000;
717 substr($str,6,1) = ($mode & 0010) ?
's' : 'S' if $mode & 02000;
718 substr($str,9,1) = ($mode & 0001) ?
't' : 'T' if $mode & 01000;
723 my $mode = (stat($_[0]))[2];
724 defined($mode) or return '??????????';
725 return get_mode_perm
($mode);
730 defined($grpid) or return '?';
731 my $grpnm = scalar(getgrgid($grpid));
732 return defined($grpnm) && $grpnm ne "" ?
$grpnm : $grpid;
736 my $grp = (stat($_[0]))[5];
737 defined($grp) or return '?';
738 return get_grp_nam
($grp);
745 update-all-config.pl - Update all projects' config settings
749 update-all-config.pl [<options>] [<projname>]...
752 -h | --help detailed instructions
753 -V | --version show version
754 -n | --dry-run show what would be done but don't do it
755 -f | --force run without a Config.pm owning_group
756 -q | --quiet suppress change messages
758 <projname> if given, only operate on these projects
764 =item B<-h>, B<--help>
766 Print the full description of update-all-config.pl's options.
768 =item B<-V>, B<--version>
770 Print the version of update-all-config.pl.
772 =item B<-n>, B<--dry-run>
774 Do not actually make any changes, just show what would be done without
777 =item B<-q>, B<--quiet>
779 Suppress the messages about what's actually being changed. This option
780 is ignored if B<--dry-run> is in effect.
782 The warnings about missing and unknown-to-Girocco projects are also
783 suppressed by this option.
785 =item B<-f>, B<--force>
787 Allow running without a $Girocco::Config::owning_group set. This is not
788 recommended as it results in world-writable items being used (instead of
789 just world-readable).
793 If no project names are specified then I<all> projects are processed.
795 If one or more project names are specified then only those projects are
796 processed. Specifying non-existent projects produces a warning for them,
797 but the rest of the projects specified will still be processed.
799 Each B<projname> may be either a full absolute path starting with
800 $Girocco::Config::reporoot or just the project name part with or without
803 Any explicitly specified projects that do exist but are not known to
804 Girocco will be skipped (with a warning).
810 Inspect the C<config> files of Girocco projects (i.e. $GIT_DIR/config) and
811 look for anomalies and out-of-date settings.
813 Additionally check the existence and permissions on various files and
814 directories in the project.
816 If an explicity specified project is located under $Girocco::Config::reporoot
817 but is not actually known to Girocco (i.e. it's not in the etc/group file)
818 then it will be skipped.
820 By default, any anomalies or out-of-date settings will be corrected with a
821 message to that effect. However using B<--dry-run> will only show the
822 correction(s) which would be made without making them and B<--quiet> will make
823 the correction(s) without any messages.
825 Any projects that have a C<$GIT_DIR/.noconfig> file are always skipped (with a
826 message unless B<--quiet> is used).