Commit graph

12 commits

Author SHA1 Message Date
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
51fa95dce3 Only mention (warn) when develop is ahead of origin/develop. This is not harmful in any way. 2010-01-26 00:23:15 +01:00
Vincent Driessen
144bb5078f Unified notation for stderr file descriptor redirection. 2010-01-25 23:55:18 +01:00
Vincent Driessen
7238e29564 Use a safer, more reliable way of determining what branches are available, by parsing the 'git branch' output instead of depending on files in the FS. 2010-01-25 23:52:26 +01:00
Vincent Driessen
ec2c895cef Add extra line to error message for clarification. 2010-01-25 22:40:13 +01:00
Vincent Driessen
6c9e8049a9 Add function gitflow_require_branch_absent(), to test for the *absence* of a branch. 2010-01-25 21:59:10 +01:00
Vincent Driessen
a1bc8717e2 Implemented the gitflow_check_clean_working_tree() check for dirty directories. 2010-01-25 21:50:08 +01:00
Vincent Driessen
afee9fdfed Add function gitflow_require_branches_equal() to test whether local and remote branches have diverged. 2010-01-25 17:29:29 +01:00
Vincent Driessen
a0434cad2e Add warn() function and redefine die() in terms of warn. 2010-01-25 17:28:22 +01:00
Vincent Driessen
4f1cc33044 Added functions for assuring branches are in place before doing the actual work.
- gitflow_require_local_branch()
- gitflow_require_remote_branch()
- gitflow_require_branch()
2010-01-25 16:44:57 +01:00
Vincent Driessen
093a147731 Added header comments to all files. 2010-01-21 01:36:44 +01:00
Vincent Driessen
61ade55fcb Add initial beginning to the gitflow subcommand infrastructure. 2010-01-21 01:28:08 +01:00