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
Vincent Driessen
fb238a2438
Remove double entry from README.
2010-01-28 00:49:20 +01:00
Vincent Driessen
0b378bc7e0
Merge branch 'feature/flip-args' into develop
2010-01-28 00:35:05 +01:00
Vincent Driessen
c81e7a2d5c
Update the README to reflect the new subcommand structure.
2010-01-28 00:33:24 +01:00
Vincent Driessen
3625f3957f
Make git-flow-version a first-class citizen amongst the other subcommands.
2010-01-28 00:21:35 +01:00
Vincent Driessen
170dc747e2
Refactored the feature, release and support subcommands, too.
2010-01-28 00:21:35 +01:00
Vincent Driessen
186d2b5f81
Refactored the subcommand invocation logic to form a more hierarchical structure and a cleaner design.
2010-01-27 23:58:55 +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
74a4fe2794
restore &> behaviour but with posix compliant shell syntax
2010-01-28 05:18:23 +08: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
c51aedf8d0
No feature branches is perfectly OK, so exit clean with code 0.
2010-01-27 14:08:50 +01:00
Vincent Driessen
bd4f095186
Added cmd_list and cmd_diff to git-flow-feature.
2010-01-27 13:57:15 +01: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
1f2741aa13
sh builtin command typeset is more portable than declare
2010-01-27 12:55:12 +01:00
Vincent Driessen
2ba9a4da3c
Fix: run git commands in the foreground, instead of the background.
2010-01-27 12:51:07 +01:00
Vincent Driessen
67f781fa37
Add 'uninstall' target, too.
2010-01-27 00:13:32 +01:00
Vincent Driessen
dd720bea91
Dynamically collect the true git exec path and only if that can not be found, use the default. Variable GIT_EXEC_PATH remains overwritable explicitly when given as a command to 'make'.
2010-01-27 00:02:42 +01:00
Vincent Driessen
a7d4527ff3
Don't assume git aliases.
2010-01-26 23:49:47 +01:00
Vincent Driessen
ca2b5175da
Omit 'v' prefix.
2010-01-26 23:49:22 +01:00
Vincent Driessen
9096074b75
Make install arguments compatible with BSD install.
2010-01-26 23:26:57 +01:00
Vincent Driessen
6b95f215a7
Remove TODO file, replaced it by the central issues list on http://github.com/nvie/gitflow/issues
2010-01-26 22:50:24 +01:00
Vincent Driessen
6c2d30bbc4
Structurally replace gitflow by git-flow, as a true git extension.
2010-01-26 22:20:41 +01:00
Vincent Driessen
12c4ab4fb4
Update README file to mention new available features.
2010-01-26 22:11:19 +01:00
Vincent Driessen
bd4a1f121f
Merge branch 'review' into develop
2010-01-26 21:59:33 +01:00
Vincent Driessen
c7bbfcf42d
Deliberately add a Makefile target to prevent accidental installation of gitflow.
2010-01-26 20:18:10 +01:00
Vincent Driessen
f781242368
Bumped the version number to 0.2
2010-01-26 20:06:42 +01:00
Vincent Driessen
059e68955b
Make bump-version write to the new location of git-flow-version
2010-01-26 20:06:36 +01:00
Benedikt Böhm
427c5dbab5
implement init command
2010-01-26 18:23:44 +01:00
Benedikt Böhm
a93a53588c
add simple make install target
2010-01-26 14:52:49 +01:00
Benedikt Böhm
4d22227a68
make git fetch silent
2010-01-26 14:46:56 +01:00
Benedikt Böhm
e2fa4913cc
remove bash specific expansions
2010-01-26 14:41:20 +01:00
Benedikt Böhm
83d4361ca5
fix modes
2010-01-26 14:22:41 +01:00
Benedikt Böhm
7d703a839a
Merge branch 'develop' of git://github.com/nvie/gitflow into develop
...
Conflicts:
gitflow
2010-01-26 13:17:12 +01:00
Benedikt Böhm
d2240e4026
Merge branch 'feature/configurable-main-branches' into develop
2010-01-26 13:09:58 +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
Vincent Driessen
4aaec2f734
Fix markdown formatting issues.
2010-01-26 12:48:34 +01:00
Benedikt Böhm
4ea07a2cc5
set -e conflicts with new sanity checks
2010-01-26 12:48:00 +01:00
Vincent Driessen
3e970a0bea
Merge branch 'release-0.1' into develop
2010-01-26 12:45:37 +01:00
Benedikt Böhm
e5eaff9557
add bash debug support
2010-01-26 12:44:55 +01:00
Vincent Driessen
f206ba6ce1
Update README file to match the 0.1 release status.
2010-01-26 12:44:41 +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
Vincent Driessen
caa5830aa8
Auto-commit version number when bumped.
2010-01-26 12:25:16 +01:00
Vincent Driessen
a676509a4a
Bumped version number to 0.1
2010-01-26 12:20:40 +01:00
Vincent Driessen
5cdfc2f4b2
Add shell script to automatically changes the version number.
2010-01-26 11:55:03 +01:00
Vincent Driessen
463dd443d8
Add static shell variable that specifies the gitflow release version.
2010-01-26 11:54:13 +01:00
Vincent Driessen
403fdca36a
Fix: btype -> type
2010-01-26 11:46:57 +01:00
Vincent Driessen
605b7cd8b4
Functionally implement the gitflow-hotfix subcommand.
2010-01-26 10:39:10 +01:00