Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: fix broken snapshot
author
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jul 2007 22:49:55 +0000
(15:49 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jul 2007 22:50:42 +0000
(15:50 -0700)
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>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ceff079
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 0acd0cafb34ae6869b4bebd7629e2c03c47291a3..b3816921192ed6983337e60e95a9db77337d9fde 100755
(executable)
--- 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'}};