From: Jakub Narebski Date: Wed, 25 Jul 2007 22:17:26 GMT Subject: [PATCH] gitweb: Fix error in generating snapshot Message-ID: <11854018464134-git-send-email-jnareb@gmail.com> In-Reply-To: <30e4a070707250627l29ce4794x97d03b8232352cae@mail.gmail.com> There was an error while generating cmmandline to run git-archive: there were no whitespace between two options. Signed-off-by: Jakub Narebski --- gitweb/gitweb.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 0acd0ca..b381692 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4343,7 +4343,7 @@ sub git_snapshot { my $cmd; $filename .= "-$hash$known_snapshot_formats{$format}{'suffix'}"; $cmd = "$git_command archive " . - "--format=$known_snapshot_formats{$format}{'format'}" . + "--format=$known_snapshot_formats{$format}{'format'} " . "--prefix=\'$name\'/ $hash"; if (exists $known_snapshot_formats{$format}{'compressor'}) { $cmd .= ' | ' . join ' ', @{$known_snapshot_formats{$format}{'compressor'}}; -- 1.5.2.4