Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Extend parse_difftree_raw_line to save commit info
[gitweb.git]
/
gitweb
/
gitweb.perl
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 7f6bdaa951114e6fd1e07b9768a43f4eab229c61..0984e856235bcfe5e93c74504b605169d1b65daf 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-1027,9
+1027,9
@@
sub parse_difftree_raw_line {
}
}
# 'c512b523472485aef4fff9e57b229d9d243c967f'
-
#
elsif ($line =~ m/^([0-9a-fA-F]{40})$/) {
-
#
$res{'commit'} = $1;
-
#
}
+ elsif ($line =~ m/^([0-9a-fA-F]{40})$/) {
+
$res{'commit'} = $1;
+ }
return wantarray ? %res : \%res;
}