Skip to content
Snippets Groups Projects
Commit fc32d3ec authored by nrbffs's avatar nrbffs
Browse files

exit successful if nothing to do

parent b670b4ce
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ git fetch upstream --tags ...@@ -21,7 +21,7 @@ git fetch upstream --tags
# we already have this branch - exit # we already have this branch - exit
if ! git rev-parse --verify "$fork_newest_minor_branch" &> /dev/null; then if ! git rev-parse --verify "$fork_newest_minor_branch" &> /dev/null; then
echo "Nothing todo, branch $fork_newest_minor_branch already exists" echo "Nothing todo, branch $fork_newest_minor_branch already exists"
exit 1 exit 0
fi fi
git checkout "$upstream_newest_minor" git checkout "$upstream_newest_minor"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment