gitweb: fix broken snapshot
Recent updates to snapshot code had a typo that broke the command line to invoke underlying "git archive" command. This is a simple typofix for it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jul 25, 2007 at 15:49 UTC
887c5266d64e0a724986af1610985bb42af5bd47
1 file changed
+1
-1
gitweb/gitweb.perl
+1
-1
@@ -4343,7 +4343,7 @@ sub git_snapshot {
4343
my $cmd;
4344
$filename .= "-$hash$known_snapshot_formats{$format}{'suffix'}";
4345
$cmd = "$git_command archive " .
4346
- "--format=$known_snapshot_formats{$format}{'format'}" .
4346
+ "--format=$known_snapshot_formats{$format}{'format'} " .
4347
"--prefix=\'$name\'/ $hash";
4348
if (exists $known_snapshot_formats{$format}{'compressor'}) {
4349
$cmd .= ' | ' . join ' ', @{$known_snapshot_formats{$format}{'compressor'}};