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
# we already have this branch - exit
if ! git rev-parse --verify "$fork_newest_minor_branch" &> /dev/null; then
echo "Nothing todo, branch $fork_newest_minor_branch already exists"
exit 1
exit 0
fi
git checkout "$upstream_newest_minor"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment