Add on the current branch

This commit is contained in:
jdeguzman 2019-05-10 18:00:25 +08:00
parent c7d456465e
commit 52f4eff27c

View file

@ -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 \