Commit b5500d4b authored by Vincent Driessen's avatar Vincent Driessen

Removed left-behind helper functions in git-flow.

They were left behind in the main git-flow script, since they are moved
over to gitflow-common.
parent 3176f74e
......@@ -78,11 +78,4 @@ main() {
cmd_$SUBACTION "$@"
}
# helper functions for common reuse
max() { if [ "$1" -gt "$2" ]; then echo "$1"; else echo "$2"; fi; }
# convenience functions for checking whether flags have been set or not
flag() { eval FLAG=\$FLAGS_$1; [ $FLAG -eq $FLAGS_TRUE ]; }
noflag() { eval FLAG=\$FLAGS_$1; [ $FLAG -ne $FLAGS_TRUE ]; }
main "$@"
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