Commit graph

17 commits

Author SHA1 Message Date
Vincent Driessen
2acfffd96a Make the 'to fetch or not to fetch' flag explicit in the other commands, too.
Only difference is that the default equals to:
0	for git-flow-feature
1	for git-flow-{release,hotfix,support}
2010-01-29 12:37:22 +01:00
Vincent Driessen
48386441c8 Replace gitflow_check_ prefixes by gitflow_require_ prefixes, for consistency. 2010-01-29 10:30:40 +01:00
Vincent Driessen
46e9c86aff Merge branch 'feature/subcmd-structure' into develop
Conflicts:
	git-flow-feature
	git-flow-hotfix
	git-flow-release
	git-flow-support
2010-01-28 01:19:56 +01:00
Vincent Driessen
b866b01ba4 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
2010-01-28 01:09:28 +01:00
Benedikt Böhm
49dd62b715 refactor git config calls to global variables 2010-01-28 00:51:15 +01:00
Vincent Driessen
170dc747e2 Refactored the feature, release and support subcommands, too. 2010-01-28 00:21:35 +01:00
Vincent Driessen
3911e161d9 Also, print the version tag in the summary message, then. 2010-01-27 22:20:47 +01:00
Benedikt Böhm
b22a076431 make version tag prefix configurable so one can use it for github semver.org compliance 2010-01-28 05:18:23 +08:00
Vincent Driessen
4e5c3e9915 In the 'finish release' summary, also exclude the 'v' prefix. 2010-01-27 13:04:41 +01:00
Vincent Driessen
a1db9f1152 Don't prefix tag names with 'v'. If you want that behaviour, include the 'v' on the command line manually. 2010-01-27 13:02:28 +01:00
Vincent Driessen
6c2d30bbc4 Structurally replace gitflow by git-flow, as a true git extension. 2010-01-26 22:20:41 +01:00
Benedikt Böhm
4d22227a68 make git fetch silent 2010-01-26 14:46:56 +01:00
Benedikt Böhm
83d4361ca5 fix modes 2010-01-26 14:22:41 +01:00
Benedikt Böhm
96f44c0781 make branch prefixes configurable 2010-01-26 13:09:32 +01:00
Benedikt Böhm
350e7159f1 make origin configurable 2010-01-26 13:05:05 +01:00
Benedikt Böhm
4a864fbc09 make master and develop branch names configurable 2010-01-26 12:59:27 +01:00
Benedikt Böhm
00ccea60ae refactor the whole thing
- now works as sub commands to git if copied to $(git --exec-path)
- now works with arbitrary commands for branch types
- consistent variable names
- new branch type 'support' for long-term support branches of historic
  versions
- preliminary base branch support for hotfix branch type to create
  hotfixes form support branches
2010-01-26 12:39:36 +01:00
Renamed from gitflow-release (Browse further)