From bc09564ab6e8b57c16e5dd5251f58f120c6242df Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Sun, 25 Dec 2011 20:46:54 +0530 Subject: [PATCH] (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 --- src/gitolite.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gitolite.pm b/src/gitolite.pm index 4d5f9e2..e891766 100644 --- a/src/gitolite.pm +++ b/src/gitolite.pm @@ -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...