Permalink
Browse files

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

  • Loading branch information...
1 parent f2df934 commit 140c60ce7ba7aea0429d7dcbb4fc307b038150d3 @dpavlin committed Mar 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 bak-git-server.pl
View
@@ -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";

0 comments on commit 140c60c

Please sign in to comment.