From: Junio C Hamano Date: Wed, 25 Jul 2007 22:49:55 +0000 (-0700) Subject: gitweb: fix broken snapshot X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/e4255d31290f1791ab1002813713fd9101d15f35c54ec5df6fd664664b9958af?hp=7605e25e7eeabfc66a955acd42d4c8aea0bd868d865975a2c7e04db52fb9c6bd 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 --- diff --git a/gitweb.perl b/gitweb.perl index 5939fc6..cc978b5 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -4344,7 +4344,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'}};