clarifications in various messages etc

(thanks to SethX for feedback)

  - install: a little more verbosity in the mkdir
  - install and example conf: some of the help text made more clear
  - auth: error message on bad $cmd is now clearer, plus no perl-warnings to
    confuse people
This commit is contained in:
Sitaram Chamarty 2009-09-10 19:05:07 +05:30
parent 7abc629d51
commit 3d44b003c8
3 changed files with 13 additions and 7 deletions

View file

@ -70,11 +70,9 @@ die "$cmd??? you're a funny guy..."
# including the single quotes
my ($verb, $repo) = ($cmd =~ /^\s*(git\s+\S+|\S+)\s+'\/?(.*).git'/);
die "$verb? I don't do odd jobs, sorry..."
unless $verb =~ $R_COMMANDS or $verb =~ $W_COMMANDS;
die "I don't like the look of $repo, sorry!"
unless $repo =~ $REPONAME_PATT;
die "Sorry, I don't like the command you gave me: $cmd\n"
unless ( ( $verb =~ $R_COMMANDS or $verb =~ $W_COMMANDS )
and $repo =~ $REPONAME_PATT );
# ----------------------------------------------------------------------------
# first level permissions check