aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-07-25 15:49:55 -0700
committerJunio C Hamano <gitster@pobox.com>2007-07-25 15:50:42 -0700
commit887c5266d64e0a724986af1610985bb42af5bd47 (patch)
tree48e52abd4d8a6a1a4c125e6cf3c6140557b1b03c
parentceff079bdcaebb67b0379a1036a32b4dfebb6012 (diff)
downloadgit-887c5266d64e0a724986af1610985bb42af5bd47.tar.gz
git-887c5266d64e0a724986af1610985bb42af5bd47.tar.xz
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>
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 0acd0cafb..b38169211 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'}};