Skip to content

Commit

Permalink
Merge pull request #2 from MartijnCuppens/patch-1
Browse files Browse the repository at this point in the history
Display which release or hotfix is not yet finished
  • Loading branch information
rvanginneken authored Oct 19, 2018
2 parents c2d10a6 + c82a6e9 commit daf2760
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/git-box
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ if ! git rev-parse --git-dir > /dev/null 2>&1; then
fi

if [ $(git branch --no-color --list "*release/*" "*hotfix/*" | wc -l) -gt 0 ]; then
printf '%s\n' "Fatal: There already is an open release or hotfix."
printf '%s\n' "Fatal: There already is an open release or hotfix:"
git branch --no-color --list "*release/*" "*hotfix/*"
exit 1;
fi

Expand Down

0 comments on commit daf2760

Please sign in to comment.