From 6692ec8aa3698b18e6d6629963ba79f9ec585754 Mon Sep 17 00:00:00 2001 From: Tom Ice Date: Sun, 10 May 2020 15:10:30 -0400 Subject: [PATCH] Hotfix for non-GNU awk on macOS --- git-quick-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-quick-stats b/git-quick-stats index 3f25633..d1da606 100755 --- a/git-quick-stats +++ b/git-quick-stats @@ -288,7 +288,7 @@ function detailedGitStats() { (more["total"] + less["total"]) * 100) } else { - printf "\t lines changed: %d\t(0%)\n", more[author] + less[author] + printf "\t lines changed: %d\t(0%%)\n", (more[author] + less[author]) } printf "\t first commit: %s\n", first[author] printf "\t last commit: %s\n", last[author]