Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix parsing of arguments (6 of them, not 5!)

  • Loading branch information...
commit 140c60ce7ba7aea0429d7dcbb4fc307b038150d3 1 parent f2df934
@dpavlin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bak-git-server.pl
View
2  bak-git-server.pl
@@ -97,7 +97,7 @@ sub pull_changes {
my $line = <$client>;
chomp($line);
warn "<<< $line\n";
- my ($user,$hostname,$pwd,$command,$rel_path,$message) = split(/\s+/,$line,5);
+ my ($user,$hostname,$pwd,$command,$rel_path,$message) = split(/\s+/,$line,6);
my $on_host = $1 if $rel_path =~ s/^([^:]+):(.+)$/$2/ && -e $1;
my $path = $rel_path =~ m{^/} ? $rel_path : "$pwd/$rel_path";
Please sign in to comment.
Something went wrong with that request. Please try again.