git-cvsserver: Improved error handling for pserver
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 15 May 2010 02:46:02 +0000 (02:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 May 2010 04:02:59 +0000 (21:02 -0700)
commit475357a32a55c3624011e3945f9659f4cb365f1b
treea827fe937836d11d04a647535aea605433f16378
parent3052525effbf4b9ab0cc4a66fe32f0f7261b7323
git-cvsserver: Improved error handling for pserver

  - Produce an error if the user tries to supply a password for anonymous

  - Clarify the error message produced when there's no [gitcvs.authdb]

  - Produce an E error if the authdb doesn't exist instead of spewing
    $! to the user

  - do crypt($user, descramble($pass)) eq $hash; crypt($user, $hash)
    eq $hash would accept any password

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsserver.perl