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>maint
parent
ceff079bdc
commit
887c5266d6
|
@ -4343,7 +4343,7 @@ sub git_snapshot {
|
||||||
my $cmd;
|
my $cmd;
|
||||||
$filename .= "-$hash$known_snapshot_formats{$format}{'suffix'}";
|
$filename .= "-$hash$known_snapshot_formats{$format}{'suffix'}";
|
||||||
$cmd = "$git_command archive " .
|
$cmd = "$git_command archive " .
|
||||||
"--format=$known_snapshot_formats{$format}{'format'}" .
|
"--format=$known_snapshot_formats{$format}{'format'} " .
|
||||||
"--prefix=\'$name\'/ $hash";
|
"--prefix=\'$name\'/ $hash";
|
||||||
if (exists $known_snapshot_formats{$format}{'compressor'}) {
|
if (exists $known_snapshot_formats{$format}{'compressor'}) {
|
||||||
$cmd .= ' | ' . join ' ', @{$known_snapshot_formats{$format}{'compressor'}};
|
$cmd .= ' | ' . join ' ', @{$known_snapshot_formats{$format}{'compressor'}};
|
||||||
|
|
Loading…
Reference in New Issue