Skip to content

Commit

Permalink
git-standup: add separate newline between the output
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander committed Nov 3, 2019
1 parent 7b9fbc4 commit 0ce4086
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/git-standup
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash

set -x
# Code modified from https://github.com/kamranahmedse/git-standup,
# under the MIT LICENSE.
usage() {
Expand Down Expand Up @@ -172,6 +173,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
Expand Down Expand Up @@ -219,6 +221,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
Expand Down

0 comments on commit 0ce4086

Please sign in to comment.