Commit eec73c67 authored by Vincent Driessen's avatar Vincent Driessen

Only push to the origin repo if we wanted to fetch, too.

parent c3948cf8
...@@ -294,7 +294,9 @@ helper_finish_cleanup() { ...@@ -294,7 +294,9 @@ helper_finish_cleanup() {
gitflow_require_clean_working_tree gitflow_require_clean_working_tree
# delete branch # delete branch
if [ $FLAGS_fetch -eq 1 ]; then
git push $ORIGIN :refs/heads/$BRANCH git push $ORIGIN :refs/heads/$BRANCH
fi
git branch -d $BRANCH git branch -d $BRANCH
echo echo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment