mirror of
https://github.com/wahyd4/gitolite.git
synced 2026-08-09 04:55:55 +10:00
(minor) warning message clarity
Using a username in an unused group name will still cause the warning, but the message was misleading in that context
This commit is contained in:
+2
-2
@@ -1107,9 +1107,9 @@ sub setup_authkeys
|
||||
|
||||
# lint check 2 -- print less noisily
|
||||
if (@not_in_config > 10) {
|
||||
print STDERR "$WARN You have " . scalar(@not_in_config) . " pubkeys that do not appear to be used in the config\n";
|
||||
print STDERR "$WARN You have " . scalar(@not_in_config) . " pubkeys that do not appear to be used in any access rules\n";
|
||||
} elsif (@not_in_config) {
|
||||
print STDERR "$WARN the following users (pubkey files in parens) do not appear in the config file:\n", join(",", sort @not_in_config), "\n";
|
||||
print STDERR "$WARN the following users (pubkey files in parens) do not appear in any access rules:\n", join(",", sort @not_in_config), "\n";
|
||||
}
|
||||
|
||||
# lint check 3; a little more severe than the first two I guess...
|
||||
|
||||
Reference in New Issue
Block a user