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);
108 $root = $1 if $root =~ m
|^(/.+)$|;
110 my %projnames = map {($_ => 1)} @allprojs;
114 -d
$_ and $_ = realpath
($_);
115 $_ = $1 if $_ =~ m
|^(.+)$|;
118 if (!exists($projnames{$_})) {
119 warn "$_: unknown to Girocco (not in etc/group)\n"
126 @projects = sort {lc($a) cmp lc($b)} @allprojs;
131 foreach (@projects) {
132 my $projdir = "$root/$_.git";
134 warn "$_: does not exist -- skipping\n" unless $quiet;
137 if (!is_git_dir
($projdir)) {
138 warn "$_: is not a .git directory -- skipping\n" unless $quiet;
141 if (-e
"$projdir/.noconfig") {
142 warn "$_: found .noconfig -- skipping\n" unless $quiet;
145 if (!chdir($projdir)) {
146 warn "$_: chdir to project directory failed: $!\n" unless $quiet;
149 process_one_project
($_) or $bad = 1;
155 my (@mkdirs, @mkfiles);
156 my (@fixdpermsdirs, @fixdpermsrwx, @fixfpermsfiles, @fixfpermsdirs);
158 @mkdirs = qw(refs info hooks ctags htmlcache bundles reflogs objects objects/info);
159 @mkfiles = qw(config info/lastactivity);
160 @fixdpermsdirs = qw(. refs info ctags htmlcache bundles reflogs objects objects/info);
161 @fixdpermsrwx = qw(refs objects);
162 @fixfpermsfiles = qw(HEAD config description packed-refs README.html info/lastactivity
163 info/alternates info/http-alternates info/packs);
164 @fixfpermsdirs = qw(ctags);
167 my (@boolvars, @falsevars, @false0vars, @truevars);
169 @boolvars = qw(gitweb.statusupdates);
170 @falsevars = qw(core.ignorecase receive.denynonfastforwards);
171 @false0vars = qw(receive.autogc);
172 @truevars = qw(receive.fsckobjects receive.updateserverinfo repack.writebitmaps transfer.fsckobjects);
178 return defined($_[0]) ?
$_[0] : $_[1];
185 open $duperr, '>&2' or last;
186 my $errfd = POSIX
::open(File
::Spec
->devnull, &POSIX
::O_RDWR
);
187 defined($errfd) or close($duperr), $duperr = undef, last;
188 POSIX
::dup2
($errfd, 2) or close($duperr), $duperr = undef;
189 POSIX
::close($errfd);
192 my $ans = open $fd, '-|', "find", @_;
193 if ($noe && defined($duperr) && defined(fileno($duperr))) {
194 POSIX
::dup2
(fileno($duperr), 2);
197 $ans or die "find failed: $!\n";
201 sub openfind
{ return openfind_
(0, @_); }
202 sub openfindne
{ return openfind_
(1, @_); }
208 my ($i,$r) = (index($_,"."),rindex($_,"."));
209 substr($_,$i+1,$r-$i-1);
210 } grep(/^remote\.[^.].*\.url$/i, keys(%$config)));
213 sub has_default_fetch_spec
216 my $default = $config->{'remotes.default'};
217 my @remotes = defined($default) ?
split(' ', $default) : all_remotes
($config);
219 defval
($config->{"remote.$_.url"},"") ne "" or next;
220 !defined($default) && git_bool
($config->{"remote.$_.skipdefaultupdate"}) and next;
221 defval
($config->{"remote.$_.fetch"},"") ne "" and return 1;
226 sub is_native_git_mirror_url
229 defined($bu) && $bu ne "" or return 0;
230 # All current or former natively supported by Git URLs return true:
231 # 1. rsync: (removed in 2.8.0, also recognize rsync+ and rsync::)
232 # 2. ftp:/ftps: (strongly discouraged)
234 # 4. http:/https: (smart and non-smart)
236 # 6. scp-like ssh syntax [user@]host:[^:/]
243 (?
:[^\s
:\@
]+\@
)?
[^\s
:\@
+]+:(?
!\
/\/)[^\s
:\\]
247 sub process_one_project
256 warn "$proj: bypassing project, exists but not directory: $_\n" unless $quiet;
257 $reallybad = $bad = 1;
260 my $grpid = $owning_group_id;
261 $grpid = $htmlcache_owning_group_id
262 if $htmlcache_owning_group_id && $_ eq "htmlcache";
263 $grpid = $ctags_owning_group_id
264 if $ctags_owning_group_id && $_ eq "ctags";
265 do_mkdir
($proj, $_, $grpid) or $bad = 1, last;
269 return 0 if $reallybad;
271 -d
$_ && check_dperm
($proj, $_) or $bad = 1 foreach (@fixdpermsdirs);
272 my $fp = openfindne
(@fixdpermsrwx, qw(-xdev -type d ( ! -path objects/?? -o -prune ) ! -perm
), "-$drwxmode", "-print");
275 change_dpermrwx
($proj, $_) or $bad = 1;
277 close($fp) or $bad = 1;
278 $fp = openfind
(qw(. -xdev -type d ( ! -path ./objects/?? -o -prune ) ! -perm
-a
+rx
-print));
281 change_dpermrx
($proj, $_) or $bad = 1;
283 close($fp) or $bad = 1;
288 warn "$proj: bypassing project, exists but not file: $_\n" unless $quiet;
289 $reallybad = $bad = 1;
293 my $result = "(dryrun)";
297 open($tf, '>', $_) && close ($tf) or $result = "FAILED", $bad = 1;
299 pmsg
($proj, "$_: created", $result) unless $quiet;
302 return 0 if $reallybad;
304 $dryrun || check_fperm
($proj, "config") or $bad = 1;
305 my $config = read_config_file_hash
("config", !$quiet);
306 if (!defined($config)) {
307 warn "$proj: could not read config file -- skipping\n" unless $quiet;
311 my $do_config = sub {
312 my ($item, $val) = @_;
313 my $oldval = defval
($config->{$item},"");
314 my $result = "(dryrun)";
317 system($Girocco::Config
::git_bin
, "config", "--file", "config", "--replace-all", $item, $val) == 0 or
318 $result = "FAILED", $bad = 1;
320 if (!exists($config->{$item})) {
321 pmsg
($proj, "config $item: created \"$val\"", $result) unless $quiet;
323 pmsg
($proj, "config $item: \"$oldval\" -> \"$val\"", $result) unless $quiet;
326 my $do_config_unset = sub {
327 my ($item, $msg) = @_;
328 defined($msg) or $msg = "";
329 $msg eq "" or $msg = " " . $msg;
330 my $oldval = defval
($config->{$item},"");
331 my $result = "(dryrun)";
334 system($Girocco::Config
::git_bin
, "config", "--file", "config", "--unset-all", $item) == 0 or
335 $result = "FAILED", $bad = 1;
337 pmsg
($proj, "config $item: removed$msg \"$oldval\"", $result) unless $quiet;
340 my $repovers = $config->{'core.repositoryformatversion'};
341 if (!defined($repovers)) {
343 } elsif ($repovers =~ /^[2345]$/) {
344 pmsg
($proj, "WARNING: unknown core.repositoryformatversion value left unchanged: \"$repovers\"");
345 } elsif ($repovers !~ /^[01]$/) {
346 pmsg
($proj, "WARNING: replacing invalid core.repositoryformatversion value: \"$repovers\"") unless $quiet;
349 &$do_config('core.repositoryformatversion', 0) if $repovers eq "";
350 my $hookspath = $Girocco::Config
::reporoot
. "/_global/hooks";
351 my $cfghooks = defval
($config->{'core.hookspath'},"");
352 if ($cfghooks ne $hookspath) {
353 my $updatehookspath = 1;
354 $hookspath = $Girocco::Config
::reporoot
. "/$proj.git/hooks" if $Girocco::Config
::localhooks
;
355 if ($cfghooks =~ m{^/[^/]} && -d
$cfghooks && -d
"hooks") {
356 # tolerate this situation provided the realpath of $cfghooks
357 # matches the realpath of the hooks subdirectory and the hooks
358 # subdirectory exists; actually making sure the correct symlinks
359 # are present remains up to update-all-hooks not us
360 if (realpath
($cfghooks) eq realpath
("hooks")) {
361 # we do, however, insist that it be stored exactly
362 # as $reporoot/<project_name>.git/hooks in this case because
363 # that's the only guaranteed version that works in the chroot
364 $hookspath = $Girocco::Config
::reporoot
. "/$proj.git/hooks";
365 $cfghooks eq $hookspath and $updatehookspath = 0;
368 &$do_config('core.hookspath', $hookspath) if $updatehookspath;
370 my $cmplvl = defval
($config->{'core.compression'},"");
371 if ($cmplvl !~ /^-?\d+$/ || $cmplvl < -1 || $cmplvl > 9 || "" . (0 + $cmplvl) ne "" . $cmplvl) {
372 pmsg
($proj, "WARNING: replacing invalid core.compression value: \"$cmplvl\"") unless $cmplvl eq "" || $quiet;
374 } elsif ($cmplvl != 5) {
375 pmsg
($proj, "WARNING: suboptimal core.compression value left unchanged: \"$cmplvl\"") unless $quiet;
377 $cmplvl ne "" or &$do_config('core.compression', 5);
378 my $grpshr = defval
($config->{'core.sharedrepository'},"");
379 if ($grpshr eq "" || (valid_bool
($grpshr) && !git_bool
($grpshr))) {
380 &$do_config('core.sharedrepository', 1);
381 } elsif (!(valid_bool
($grpshr) && git_bool
($grpshr))) {
382 pmsg
($proj, "WARNING: odd core.sharedrepository value left unchanged: \"$grpshr\"");
384 if (git_bool
($config->{'core.bare'})) {
386 my $laru = $config->{'core.logallrefupdates'};
387 if (defined($laru)) {
388 if (valid_bool
($laru)) {
390 if (git_bool
($laru)) {
391 pmsg
($proj, "WARNING: core.logallrefupdates is true (left unchanged)")
392 unless $quiet || -d
"worktrees";
395 pmsg
($proj, "WARNING: replacing non-boolean core.logallrefupdates value") unless $quiet;
398 !$setlaru or &$do_config('core.logallrefupdates', 'false');
400 pmsg
($proj, "WARNING: core.bare is not true (left unchanged)") unless $quiet;
402 my $precious = defval
($config->{'extensions.preciousobjects'},"");
403 valid_bool
($precious) && git_bool
($precious) or &$do_config('extensions.preciousobjects', 'true');
404 defval
($config->{'transfer.unpacklimit'},"") eq "1" or &$do_config('transfer.unpacklimit', 1);
405 lc(defval
($config->{'receive.denydeletecurrent'},"")) eq "warn" or &$do_config('receive.denydeletecurrent', 'warn');
407 !exists($config->{$_}) || valid_bool
(defval
($config->{$_},"")) or &$do_config_unset($_, "(not a boolean)");
408 } foreach (@boolvars);
410 (valid_bool
(defval
($config->{$_},"")) && !git_bool
($config->{$_})) or &$do_config($_, "false");
411 } foreach (@falsevars);
413 (valid_bool
(defval
($config->{$_},"")) && !git_bool
($config->{$_})) or &$do_config($_, 0);
414 } foreach (@false0vars);
416 (valid_bool
(defval
($config->{$_},"")) && git_bool
($config->{$_})) or &$do_config($_, "true");
417 } foreach (@truevars);
419 if (defined($Girocco::Config
::owning_group
) && $Girocco::Config
::owning_group
ne "") {
420 $fp = openfind
(qw(. -xdev ( -type d -o -type f ) ! -group
), $Girocco::Config
::owning_group
, "-print");
423 my $grpid = $owning_group_id;
424 $grpid = $htmlcache_owning_group_id if $htmlcache_owning_group_id && m{^\./htmlcache(?:/|$)}i;
425 $grpid = $ctags_owning_group_id if $ctags_owning_group_id && m{^\./ctags(?:/|$)}i;
426 change_group
($proj, $_, $grpid) or $bad = 1;
428 close($fp) or $bad = 1;
430 foreach (@fixfpermsfiles) {
433 warn "$proj: bypassing project, exists but not file: $_\n" unless $quiet;
434 $reallybad = $bad = 1;
437 check_fperm
($proj, $_) or $bad = 1;
440 return 0 if $reallybad;
442 $fp = openfindne
(@fixfpermsdirs, qw(-xdev -type f ! -perm), $fmodeoct, "-print");
445 check_fperm
($proj, $_) or $bad = 1;
447 close($fp) or $bad = 1;
448 $fp = openfind
(qw(. -xdev -type f ! -perm -a+r -print));
451 check_fpermr
($proj, $_) or $bad = 1;
453 close($fp) or $bad = 1;
454 $fp = openfind
(qw(. -xdev -type d ( -path ./hooks -o -path ./mob/hooks ) -prune
-o
-type f
( -perm
-u
=x
-o
-perm
-g
=x
-o
-perm
-o
=x
) -print));
457 check_fpermnox
($proj, $_) or $bad = 1;
459 close($fp) or $bad = 1;
461 my $bu = defval
($config->{'gitweb.baseurl'},"");
463 $bu eq "" or pmsg
($proj, "WARNING: .nofetch exists but gitweb.baseurl is not empty ($bu)") unless $quiet;
466 if (has_default_fetch_spec
($config)) {
467 pmsg
($proj, "WARNING: gitweb.baseurl is empty and .nofetch does not exist but fetch spec does") unless $quiet;
469 pmsg
($proj, "WARNING: gitweb.baseurl is empty and .nofetch does not exist") unless $quiet;
471 } elsif (is_native_git_mirror_url
($bu) && !has_default_fetch_spec
($config)) {
472 pmsg
($proj, "WARNING: gitweb.baseurl is not empty but fetch spec is") unless $quiet;
481 my ($proj, $subdir, $grpid) = @_;
484 mkdir($subdir) && -d
"$subdir" or $result = "FAILED";
485 if ($grpid && $grpid != $owning_group_id) {
486 my @info = stat($subdir);
487 if (@info < 6 || $info[2] eq "" || $info[4] eq "" || $info[5] eq "") {
489 } elsif ($info[5] != $grpid) {
490 if (!chown($info[4], $grpid, $subdir)) {
492 warn "chgrp: ($proj) $subdir: $!\n" unless $quiet;
493 } elsif (!chmod($info[2] & 07777, $subdir)) {
495 warn "chmod: ($proj) $subdir: $!\n" unless $quiet;
500 $result = "(dryrun)";
502 pmsg
($proj, "$subdir/: created", $result);
503 return $result ne "FAILED";
507 my ($proj, $subdir) = @_;
508 my $oldmode = (stat($subdir))[2];
509 if (!defined($oldmode) || $oldmode eq "") {
510 warn "chmod: ($proj) $subdir: No such file or directory\n" unless $quiet;
513 my $newmode = ($oldmode & ~07777) | $dmode;
514 $newmode == $oldmode and return 1;
517 if (!chmod($newmode & 07777, $subdir)) {
519 warn "chmod: ($proj) $subdir: $!\n" unless $quiet;
522 $result = "(dryrun)";
524 pmsg
($proj, "$subdir/:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
525 return $result ne "FAILED";
528 sub change_dpermrwx
{
529 my ($proj, $subdir) = @_;
530 my $oldmode = (stat($subdir))[2];
531 if (!defined($oldmode) || $oldmode eq "") {
532 warn "chmod: ($proj) $subdir: No such file or directory\n" unless $quiet;
535 my $newmode = $oldmode | ($wall ?
0777 : 0775);
536 $newmode == $oldmode and return 1;
539 if (!chmod($newmode & 07777, $subdir)) {
541 warn "chmod: ($proj) $subdir: $!\n" unless $quiet;
544 $result = "(dryrun)";
546 pmsg
($proj, "$subdir/:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
547 return $result ne "FAILED";
551 my ($proj, $subdir) = @_;
553 my $oldmode = (stat($subdir))[2];
554 if (!defined($oldmode) || $oldmode eq "") {
555 warn "chmod: ($proj) $subdir: No such file or directory\n" unless $quiet;
558 my $newmode = $oldmode | 0555;
559 $newmode == $oldmode and return 1;
562 if (!chmod($newmode & 07777, $subdir)) {
564 warn "chmod: ($proj) $subdir: $!\n" unless $quiet;
567 $result = "(dryrun)";
569 pmsg
($proj, "$subdir/:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
570 return $result ne "FAILED";
574 my ($proj, $file) = @_;
575 my $oldmode = (stat($file))[2];
576 if (!defined($oldmode) || $oldmode eq "") {
577 warn "chmod: ($proj) $file: No such file or directory\n" unless $quiet;
580 my $newmode = ($oldmode & ~07777) | $fmode;
581 $newmode == $oldmode and return 1;
584 if (!chmod($newmode & 07777, $file)) {
586 warn "chmod: ($proj) $file: $!\n" unless $quiet;
589 $result = "(dryrun)";
591 pmsg
($proj, "$file:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
592 return $result ne "FAILED";
596 my ($proj, $file) = @_;
598 my $oldmode = (stat($file))[2];
599 if (!defined($oldmode) || $oldmode eq "") {
600 warn "chmod: ($proj) $file: No such file or directory\n" unless $quiet;
603 my $newmode = $oldmode | 0444;
604 $newmode == $oldmode and return 1;
607 if (!chmod($newmode & 07777, $file)) {
609 warn "chmod: ($proj) $file: $!\n" unless $quiet;
612 $result = "(dryrun)";
614 pmsg
($proj, "$file:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
615 return $result ne "FAILED";
619 my ($proj, $file) = @_;
621 my $oldmode = (stat($file))[2];
622 if (!defined($oldmode) || $oldmode eq "") {
623 warn "chmod: ($proj) $file: No such file or directory\n" unless $quiet;
626 my $newmode = $oldmode & ~0111;
627 $newmode == $oldmode and return 1;
630 if (!chmod($newmode & 07777, $file)) {
632 warn "chmod: ($proj) $file: $!\n" unless $quiet;
635 $result = "(dryrun)";
637 pmsg
($proj, "$file:", get_mode_perm
($oldmode), '->', get_mode_perm
($newmode), $result);
638 return $result ne "FAILED";
642 my ($proj, $item, $grpid) = @_;
644 my @info = stat($item);
645 if (@info < 6 || $info[2] eq "" || $info[4] eq "" || $info[5] eq "") {
646 warn "chgrp: ($proj) $item: No such file or directory\n" unless $quiet;
649 $info[5] == $grpid and return 1;
652 if (!chown($info[4], $grpid, $item)) {
654 warn "chgrp: ($proj) $item: $!\n" unless $quiet;
655 } elsif (!chmod($info[2] & 07777, $item)) {
657 warn "chmod: ($proj) $item: $!\n" unless $quiet;
660 $result = "(dryrun)";
662 my $isdir = ((($info[2] >> 12) & 017) == 004) ?
'/' : '';
663 pmsg
($proj, "$item$isdir: group", get_grp_nam
($info[5]), '->', get_grp_nam
($grpid), $result);
664 return $result ne "FAILED";
667 my $wrote; BEGIN {$wrote = ""}
670 my $msg = join(" ", @_);
674 $prefix = $wrote . $proj . ":\n";
677 print $prefix, " ", join(' ', @_), "\n";
714 my $str = $ftypes{($mode >> 12) & 017} .
715 $fperms{($mode >> 6) & 7} .
716 $fperms{($mode >> 3) & 7} .
718 substr($str,3,1) = ($mode & 0100) ?
's' : 'S' if $mode & 04000;
719 substr($str,6,1) = ($mode & 0010) ?
's' : 'S' if $mode & 02000;
720 substr($str,9,1) = ($mode & 0001) ?
't' : 'T' if $mode & 01000;
725 my $mode = (stat($_[0]))[2];
726 defined($mode) or return '??????????';
727 return get_mode_perm
($mode);
732 defined($grpid) or return '?';
733 my $grpnm = scalar(getgrgid($grpid));
734 return defined($grpnm) && $grpnm ne "" ?
$grpnm : $grpid;
738 my $grp = (stat($_[0]))[5];
739 defined($grp) or return '?';
740 return get_grp_nam
($grp);
747 update-all-config.pl - Update all projects' config settings
751 update-all-config.pl [<options>] [<projname>]...
754 -h | --help detailed instructions
755 -V | --version show version
756 -n | --dry-run show what would be done but don't do it
757 -f | --force run without a Config.pm owning_group
758 -q | --quiet suppress change messages
760 <projname> if given, only operate on these projects
766 =item B<-h>, B<--help>
768 Print the full description of update-all-config.pl's options.
770 =item B<-V>, B<--version>
772 Print the version of update-all-config.pl.
774 =item B<-n>, B<--dry-run>
776 Do not actually make any changes, just show what would be done without
779 =item B<-q>, B<--quiet>
781 Suppress the messages about what's actually being changed. This option
782 is ignored if B<--dry-run> is in effect.
784 The warnings about missing and unknown-to-Girocco projects are also
785 suppressed by this option.
787 =item B<-f>, B<--force>
789 Allow running without a $Girocco::Config::owning_group set. This is not
790 recommended as it results in world-writable items being used (instead of
791 just world-readable).
795 If no project names are specified then I<all> projects are processed.
797 If one or more project names are specified then only those projects are
798 processed. Specifying non-existent projects produces a warning for them,
799 but the rest of the projects specified will still be processed.
801 Each B<projname> may be either a full absolute path starting with
802 $Girocco::Config::reporoot or just the project name part with or without
805 Any explicitly specified projects that do exist but are not known to
806 Girocco will be skipped (with a warning).
812 Inspect the C<config> files of Girocco projects (i.e. $GIT_DIR/config) and
813 look for anomalies and out-of-date settings.
815 Additionally check the existence and permissions on various files and
816 directories in the project.
818 If an explicity specified project is located under $Girocco::Config::reporoot
819 but is not actually known to Girocco (i.e. it's not in the etc/group file)
820 then it will be skipped.
822 By default, any anomalies or out-of-date settings will be corrected with a
823 message to that effect. However using B<--dry-run> will only show the
824 correction(s) which would be made without making them and B<--quiet> will make
825 the correction(s) without any messages.
827 Any projects that have a C<$GIT_DIR/.noconfig> file are always skipped (with a
828 message unless B<--quiet> is used).