commit | eec73c6777b3ad4e752a778d8c95a16622f371a1 | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周二 2月 02 16:14:16 2010 +0100 |
committer | Vincent Driessen <vincent@datafox.nl> | 周二 2月 02 16:14:16 2010 +0100 |
tree | 678591c8b1767e9ccf0d079828c409df5f08f574 | |
parent | c3948cf8bdcc9744d5d4a801d4cb9a8dff42c2fb [diff] [blame] |
Only push to the origin repo if we wanted to fetch, too.
diff --git a/git-flow-feature b/git-flow-feature index ef4d526..fe10382 100644 --- a/git-flow-feature +++ b/git-flow-feature
@@ -294,7 +294,9 @@ gitflow_require_clean_working_tree # delete branch - git push $ORIGIN :refs/heads/$BRANCH + if [ $FLAGS_fetch -eq 1 ]; then + git push $ORIGIN :refs/heads/$BRANCH + fi git branch -d $BRANCH echo