Skip to content

Commit

Permalink
Removed left-behind helper functions in git-flow.
Browse files Browse the repository at this point in the history
They were left behind in the main git-flow script, since they are moved
over to gitflow-common.
  • Loading branch information
nvie committed Mar 25, 2010
1 parent 3176f74 commit b5500d4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions git-flow
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

0 comments on commit b5500d4

Please sign in to comment.