diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-07-25 12:48:52 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-25 14:09:21 -0700 |
commit | 42217f13efcfd7901636877f020de246d6c58838 (patch) | |
tree | 80d7d9a4d7527cf74a01b592f41a494486efac34 /git-cvsserver.perl | |
parent | 28f7581806479471093b0ec021871a4343874d13 (diff) | |
download | git-42217f13efcfd7901636877f020de246d6c58838.tar.gz |
cvsserver: suppress warnings
This patch defines $state->{prependdir} as the empty string, so that
quite a few warnings are avoided.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-cvsserver.perl')
-rwxr-xr-x | git-cvsserver.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsserver.perl b/git-cvsserver.perl index c30ef70427..4bfca1f93c 100755 --- a/git-cvsserver.perl +++ b/git-cvsserver.perl @@ -81,7 +81,7 @@ my $methods = { # $state holds all the bits of information the clients sends us that could # potentially be useful when it comes to actually _doing_ something. -my $state = {}; +my $state = { prependdir => '' }; $log->info("--------------- STARTING -----------------"); my $TEMP_DIR = tempdir( CLEANUP => 1 ); |