]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Extend parse_difftree_raw_line to save commit info
[Gitweb] / gitweb.perl
index 9b292324b21c9beed112d002bf5bc08be138cd3c452d30776cd34d1a9afc24db..578ea50311e720a86f97ab12cc0f0643560ccaba3a93057ae85208f38ed1beca 100755 (executable)
@@ -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;
 }
This page took 0.229743 seconds and 4 git commands to generate.