Skip to content

Commit

Permalink
Remove pointless check for existence of function setup()
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Jan 28, 2010
1 parent 46e9c86 commit 92b125c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions git-flow
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ main() {
fi

# run the specified action
# if the subcommand declares a setup() function, call that first
if typeset -f setup >/dev/null; then
setup
fi
cmd_$SUBACTION "$@"
}

Expand Down

0 comments on commit 92b125c

Please sign in to comment.