Skip to content

Commit

Permalink
remove useless sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
hollow committed Jan 27, 2010
1 parent 0b378bc commit 7672d99
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions git-flow
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,6 @@ main() {
# run command
. "$GITFLOW_DIR/git-flow-$SUBCOMMAND"

if ! typeset -f sub_main >/dev/null; then
usage
exit 1
fi

# run command
sub_main "$@"
}

sub_main() {
SUBACTION="${1:-default}"; shift
if ! typeset -f cmd_$SUBACTION 2>&1 >/dev/null; then
warn "Unknown subcommand: '$1'"
Expand Down

0 comments on commit 7672d99

Please sign in to comment.