Commit c51aedf8 authored by Vincent Driessen's avatar Vincent Driessen

No feature branches is perfectly OK, so exit clean with code 0.

parent bd4f0951
......@@ -163,7 +163,7 @@ cmd_list() {
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"
}
......
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