commit | c51aedf8d0b2cd2c186fc44e2f532c361becb4b2 | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周三 1月 27 14:08:50 2010 +0100 |
committer | Vincent Driessen <vincent@datafox.nl> | 周三 1月 27 14:08:50 2010 +0100 |
tree | ef7cc655cead376cfa7c82092234bdff912a2137 | |
parent | bd4f095186951394209b3e0ef9a1fb4f24bf77bb [diff] |
No feature branches is perfectly OK, so exit clean with code 0.
diff --git a/git-flow-feature b/git-flow-feature index d5f4832..663e788 100644 --- a/git-flow-feature +++ b/git-flow-feature
@@ -163,7 +163,7 @@ FEATURE_BRANCHES="$(echo "$LOCAL_BRANCHES" | grep "^$PREFIX")" if [ -z "$FEATURE_BRANCHES" ]; then warn "No feature branches exist." - exit 1 + exit 0 fi echo "$FEATURE_BRANCHES" | sed "s?^$PREFIX??g" }