git-standup: add separate newline between the output

This commit is contained in:
spacewander 2019-11-03 10:49:21 +08:00
parent 7b9fbc4389
commit 227c19bb67
4 changed files with 5 additions and 0 deletions

View file

@ -172,6 +172,7 @@ git_output() {
if [[ ! -z "$output" ]] ; then
echo "${GREEN}${branch}${NORMAL}"
echo "$output"
echo ""
fi
fi
# TODO optimize:return if the latest commit of a branch is eariler than the 'since' day
@ -219,6 +220,7 @@ if [[ $in_git_repo != 0 ]]; then
if [[ ! -z "$GITOUT" ]] ; then
echo "${BOLD}${UNDERLINE}${YELLOW}$(basename "$DIR")${NORMAL}"
echo "$GITOUT"
echo ""
fi
else
echo "Repository under $DIR could not be queried." >&2

View file

@ -140,6 +140,7 @@ f788c78 \- git\-summary: clean up other shellcheck warnings (23 hours ago) <spac
3e8c3ab \- git\-summary: fix incorrect active days when commits range is given (23 hours ago) <spacewander>
ff991ac \- git\-summary: remove useless result function\. (23 hours ago) <spacewander>
203f5b4 \- git\-summary: add \-\-dedup\-by\-email to remove duplicate users (5 days ago) <spacewander>
master
203f5b4 \- git\-summary: add \-\-dedup\-by\-email to remove duplicate users (5 days ago) <spacewander>
.

View file

@ -167,6 +167,7 @@ f788c78 - git-summary: clean up other shellcheck warnings (23 hours ago) &lt;spa
3e8c3ab - git-summary: fix incorrect active days when commits range is given (23 hours ago) &lt;spacewander>
ff991ac - git-summary: remove useless result function. (23 hours ago) &lt;spacewander>
203f5b4 - git-summary: add --dedup-by-email to remove duplicate users (5 days ago) &lt;spacewander>
master
203f5b4 - git-summary: add --dedup-by-email to remove duplicate users (5 days ago) &lt;spacewander>
</code></pre>

View file

@ -91,6 +91,7 @@ By specifying the `-B` option, git-standuo will group the commits in branches:
3e8c3ab - git-summary: fix incorrect active days when commits range is given (23 hours ago) <spacewander>
ff991ac - git-summary: remove useless result function. (23 hours ago) <spacewander>
203f5b4 - git-summary: add --dedup-by-email to remove duplicate users (5 days ago) <spacewander>
master
203f5b4 - git-summary: add --dedup-by-email to remove duplicate users (5 days ago) <spacewander>