From dc5e876a53daf857618ded9395cabe81f899035e Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 23 Jun 2015 11:33:13 +0100 Subject: [PATCH] git-graph: do not count renames as huge additions and deletions --- git-graph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-graph b/git-graph index ce382ec..2516a2b 100755 --- a/git-graph +++ b/git-graph @@ -45,7 +45,7 @@ my $canmax = 0; my $date; -for (qx{git log --pretty=format:%ct --shortstat --since='$height days ago'}) { +for (qx{git log --find-renames --shortstat --pretty=format:%ct --since='$height days ago'}) { next if m{^\s*$}; if (m{^(\d{10})\n$}) { $date = int ($1 / 86400); -- 2.19.1.240.g7d280c7607