summaryrefslogtreecommitdiff
path: root/bin/lo-commit-stat
diff options
context:
space:
mode:
Diffstat (limited to 'bin/lo-commit-stat')
-rwxr-xr-xbin/lo-commit-stat10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 64278b894d42..08e8a1785f86 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -189,11 +189,11 @@ sub load_git_log($$$$$$$)
next;
}
- $line = search_bugs($pdata, $module, $commit_id, $line);
- # FIXME: need to be implemented
-# search_keywords($pdata, $line);
-
unless (defined $pdata->{$module}{$commit_id}{'summary'}) {
+ $line = search_bugs($pdata, $module, $commit_id, $line);
+ # FIXME: need to be implemented
+ # search_keywords($pdata, $line);
+
$summary = standardize_summary($line);
$pdata->{$module}{$commit_id}{'summary'} = $summary;
}
@@ -206,7 +206,7 @@ sub load_git_log($$$$$$$)
sub get_repo_name($)
{
my $repo_dir = shift;
-
+
open (GIT_CONFIG, "$repo_dir/.git/config") ||
die "can't open \"$$repo_dir/.git/config\" for reading: $!\n";