From 52f4eff27cbc884dca0deab84c8c985c8f427de9 Mon Sep 17 00:00:00 2001 From: jdeguzman Date: Fri, 10 May 2019 18:00:25 +0800 Subject: [PATCH] Add on the current branch --- git-quick-stats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-quick-stats b/git-quick-stats index 74d26ee..8dc9e85 100755 --- a/git-quick-stats +++ b/git-quick-stats @@ -187,9 +187,9 @@ function detailedGitStats() { if [[ $is_branch_existing && -n "${_branch}" ]]; then option_picked "Contribution stats (by author) on ${_branch} branch:" elif [[ -n "${branch}" && -z "${_branch}" ]]; then - option_picked "Branch \"${branch}\" does not exist.\nContribution stats (by author):" + option_picked "Branch \"${branch}\" does not exist.\nContribution stats (by author) on the current branch:" else - option_picked "Contribution stats (by author):" + option_picked "Contribution stats (by author) on the current branch:" fi git -c log.showSignature=false log ${_branch} --use-mailmap --no-merges --numstat \