commit | b866b01ba43c484e89ab36ec5fa127d053940249 | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周四 1月 28 01:01:53 2010 +0100 |
committer | Vincent Driessen <vincent@datafox.nl> | 周四 1月 28 01:09:28 2010 +0100 |
tree | bad45231d7c2464ced570a91d1cffb39164809cb | |
parent | fb238a2438f31202bd4ff96ab35b9b07e203da61 [diff] |
Give all subcommands an optional setup() function that will be called by git-flow in order to let the subcommand initialize its environment. Give all the branch-type subcommands a default explicit "list" action, too. Order the functions inside each of the subcommands in a specific order, for consistency: - usage() - setup() - cmd_default() - cmd_list() - cmd_help() - parse_args() - other commands