]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: fix broken snapshot
authorJunio C Hamano <redacted>
Wed, 25 Jul 2007 22:49:55 +0000 (15:49 -0700)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
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 <redacted>
gitweb.perl

index 5939fc6d7cfb28f50980a66ea16ab083d7d00b28bd0658040f012acedbd58b5a..cc978b52e23aef5fcd9aaf956af3224b4a4a49ded828cec36b3ebd1a6239994b 100755 (executable)
@@ -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'}};
This page took 0.285215 seconds and 4 git commands to generate.