~ubuntu-branches/ubuntu/hardy/git-core/hardy-updates

« back to all changes in this revision

Viewing changes to git-cvsserver.perl

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-11-01 08:35:46 UTC
  • mfrom: (1.1.24)
  • Revision ID: package-import@ubuntu.com-20071101083546-w9tywil7o688gow7
Tags: 1:1.5.3.5-1
* new upstream point release.
  * git-config: handle --file option with relative pathname properly;
    git-config: print error message if the config file cannot be read;
    git-config: don't silently ignore options after --list (closes:
    #445208).

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    }
146
146
    my $request = $1;
147
147
    $line = <STDIN>; chomp $line;
148
 
    req_Root('root', $line) # reuse Root
149
 
       or die "E Invalid root $line \n";
 
148
    unless (req_Root('root', $line)) { # reuse Root
 
149
       print "E Invalid root $line \n";
 
150
       exit 1;
 
151
    }
150
152
    $line = <STDIN>; chomp $line;
151
153
    unless ($line eq 'anonymous') {
152
154
       print "E Only anonymous user allowed via pserver\n";