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.
This commit is contained in:
parent
3176f74eb9
commit
b5500d4b3a
1 changed files with 0 additions and 7 deletions
7
git-flow
7
git-flow
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in a new issue