Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Commit 7d931f7

Browse files
Merge branch 'release/1.10.0'
2 parents 43548ed + 6f56843 commit 7d931f7

18 files changed

Lines changed: 709 additions & 572 deletions

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This is the top-most .editorconfig file; do not search in parent directories.
2+
root = true
3+
4+
[*]
5+
end_of_line = LF
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
9+
[Changes.mdown]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.mdown]
14+
trim_trailing_whitespace = false
15+
16+
[{Makefile, makefile, GNUmakefile}]
17+
indent_style = tab
18+
indent_size = 4

AUTHORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Alexander Groß
3131
Alexander Norström
3232
Alexander Zeitler
3333
Brian St. Pierre
34+
Cararus Eugeniu
3435
Chad Walker
3536
Craig Fowler
3637
Emre Berge Ergenekon
@@ -46,7 +47,10 @@ John Sivak
4647
Jon Bernard
4748
Joseph A. Levin
4849
Joshua P. Tilles
50+
Juan Rial
51+
Justin Penney
4952
Konstantin Tjuterev
53+
Kridsada Thanabulpong
5054
Leonardo Giordani
5155
Mark Borcherding
5256
Mark Derricutt

Changes.mdown

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,30 @@
2323
[algernon]: https://github.com/algernon
2424
[jebmeier]: https://github.com/jebmeier
2525
[aleno]: https://github.com/aleno
26-
26+
[sirn]: https://github.com/sirn
27+
[jpenney78]: https://github.com/jpenney78
28+
2729
# Changelog
2830

31+
#### 1.10.0
32+
[Peter van der Does][petervanderdoes]
33+
* Update github links.
34+
* Add explanation of AVH.
35+
* Add ability when finishing a release to push or not push the branches and/or tag involved.
36+
* The finishing of a release branch based on a branch other than develop fails with errors.
37+
* Add --push flag for feature finish. This gives the ability to push the base branch after the finish.
38+
* When finishing a release have the ability to fast-forward the master branch, if possible.
39+
This is controlled by the flag --ff-master.
40+
* Add new flag -T, --tagname to override the tag name when finishing a release or hotfix.
41+
* Allow multiple hotfix branches by setting the config allowmultihotfix to true.
42+
The command to set it is
43+
44+
[Kridsada Thanabulpong][sirn]
45+
* Fix infinite loop during Darwin link resolving.
46+
47+
[Justin Penney][jpenney78]
48+
* Add detection for BusyBox getopt.
49+
2950
#### 1.9.1
3051
[Peter van der Does][petervanderdoes]
3152
* Bugfix: git-flow directories are not set correctly

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#
22
# Authors:
3-
# Copyright 2012-2015 Peter van der Does. All rights reserved.
3+
# Copyright 2012-2016 Peter van der Does. All rights reserved.
44
#
55
# Original Author:
66
# Copyright 2010 Vincent Driessen. All rights reserved.
7-
#
7+
#
88
# Redistribution and use in source and binary forms, with or without
99
# modification, are permitted provided that the following conditions are met:
1010
#

README.mdown

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ Or have a look at one of these screen casts:
1616

1717
* [How to use a scalable Git branching model called git-flow](http://buildamodule.com/video/change-management-and-version-control-deploying-releases-features-and-fixes-with-git-how-to-use-a-scalable-git-branching-model-called-gitflow) (by Build a Module)
1818
* [A short introduction to git-flow](http://vimeo.com/16018419) (by Mark Derricutt)
19-
* [On the path with git-flow](http://codesherpas.com/screencasts/on_the_path_gitflow.mov) (by Dave Bock)
19+
* [On the path with git-flow](https://vimeo.com/codesherpas/on-the-path-gitflow) (by Dave Bock)
2020

21+
A quick cheatsheet was made by Daniel Kummer:
22+
23+
[http://danielkummer.github.io/git-flow-cheatsheet/](http://danielkummer.github.io/git-flow-cheatsheet/)
2124

2225
## Installing git-flow
2326

24-
See the Wiki for up-to-date [Installation Instructions](https://github.com/petervanderdoes/gitflow/wiki/Installation).
27+
See the Wiki for up-to-date [Installation Instructions](https://github.com/petervanderdoes/gitflow-avh/wiki/Installation).
2528

2629

2730
## Integration with your shell
@@ -37,17 +40,18 @@ for the commands not found in the original git-flow.
3740

3841
## FAQ
3942

40-
* See the [FAQ](http://github.com/petervanderdoes/gitflow/wiki/FAQ) section
43+
* See the [FAQ](http://github.com/petervanderdoes/gitflow-avh/wiki/FAQ) section
4144
of the project Wiki.
4245
* Version Numbering Scheme.
4346
Starting with version 1.0, the project uses the following scheme:
4447
\<MAJOR\>.\<MINOR\>.\<REVISION\>\
48+
* AVH is the acronym of "A VirtualHome"
4549

4650
## Please help out
4751

4852
This project is under constant development. Feedback and suggestions are very
4953
welcome and I encourage you to use the [Issues
50-
list](http://github.com/petervanderdoes/gitflow/issues) on Github to provide that
54+
list](http://github.com/petervanderdoes/gitflow-avh/issues) on Github to provide that
5155
feedback.
5256

5357
Feel free to fork this repository and to commit your additions. For a list of
@@ -114,6 +118,7 @@ those questions to accept the (sane) default suggestions.
114118

115119
The ``-d`` flag will accept all defaults.
116120

121+
![Screencast git flow init](http://i.imgur.com/lFQbY5V.gif)
117122

118123
### Creating feature/release/hotfix/support branches
119124

@@ -198,5 +203,3 @@ in another way, however, consider donating through PayPal:
198203
[1]: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=S85FXJ9EBHAF2&lc=US&item_name=gitflow&item_number=gitflow&no_note=0&cn=Add%20special%20instructions%20to%20the%20seller&no_shipping=1&rm=1&return=https%3a%2f%2fgithub%2ecom%2fpetervanderdoes%2fgitflow&cancel_return=https%3a%2f%2fgithub%2ecom%2fpetervanderdoes%2fgitflow&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
199204

200205
[2]: https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif
201-
202-
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/petervanderdoes/gitflow/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

contrib/gitflow-installer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
# git-flow make-less installer for *nix systems, by Rick Osborne
44
# Based on the git-flow core Makefile:
5-
# http://github.com/petervanderdoes/gitflow/blob/master/Makefile
5+
# http://github.com/petervanderdoes/gitflow-avh/blob/master/Makefile
66

77
# Licensed under the same restrictions as git-flow:
8-
# http://github.com/petervanderdoes/gitflow/blob/develop/LICENSE
8+
# http://github.com/petervanderdoes/gitflow-avh/blob/develop/LICENSE
99

1010
# Updated for the fork at petervanderdoes
1111

git-flow

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# http://github.com/petervanderdoes/gitflow
1111
#
1212
# Authors:
13-
# Copyright 2012-2015 Peter van der Does. All rights reserved.
13+
# Copyright 2012-2016 Peter van der Does. All rights reserved.
1414
#
1515
# Original Author:
1616
# Copyright 2010 Vincent Driessen. All rights reserved.
@@ -55,7 +55,7 @@ FreeBSD|OpenBSD|NetBSD)
5555
Darwin)
5656
PRG="$0"
5757
while [ -h "$PRG" ]; do
58-
link=$(readlink "$0")
58+
link=$(readlink "$PRG")
5959
if expr "$link" : '/.*' > /dev/null; then
6060
PRG="$link"
6161
else

git-flow-bugfix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# http://github.com/petervanderdoes/gitflow
1010
#
1111
# Authors:
12-
# Copyright 2012-2015 Peter van der Does. All rights reserved.
12+
# Copyright 2012-2016 Peter van der Does. All rights reserved.
1313
#
1414
# Original Author:
1515
# Copyright 2010 Vincent Driessen. All rights reserved.

git-flow-config

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# http://github.com/petervanderdoes/gitflow
1010
#
1111
# Authors:
12-
# Copyright 2012-2015 Peter van der Does. All rights reserved.
12+
# Copyright 2012-2016 Peter van der Does. All rights reserved.
1313
#
1414
#
1515
# Redistribution and use in source and binary forms, with or without
@@ -137,8 +137,6 @@ git flow config set <option> <value>
137137
Set the git-flow configuration option to the given value
138138
--
139139
h,help! Show this help
140-
141-
Use config file location
142140
local! Use repository config file
143141
global! Use global config file
144142
system! Use system config file
@@ -190,6 +188,10 @@ file= Use given config file
190188
cfg_option="gitflow.prefix.versiontag"
191189
txt="Version tag prefix"
192190
;;
191+
allowmultihotfix)
192+
cfg_option="gitflow.multi-hotfix"
193+
txt="Allow multiple hotfix branches"
194+
;;
193195
*)
194196
die_help "Invalid option given."
195197
;;
@@ -223,6 +225,17 @@ file= Use given config file
223225
fi
224226
fi
225227

228+
if [ $OPTION = "allowmultihotfix" ]; then
229+
check_boolean "${value}"
230+
case $? in
231+
${FLAGS_ERROR})
232+
die "Invalid value for option 'allowmultihotfix'. Valid values are 'true' or 'false'"
233+
;;
234+
*)
235+
;;
236+
esac
237+
fi
238+
226239
git_do config $gitflow_config_option $cfg_option "$value"
227240

228241
case $? in

git-flow-feature

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#@IgnoreInspection BashAddShebang
12
#
23
# git-flow -- A collection of Git extensions to provide high-level
34
# repository operations for Vincent Driessen's branching model.
@@ -9,7 +10,7 @@
910
# http://github.com/petervanderdoes/gitflow
1011
#
1112
# Authors:
12-
# Copyright 2012-2015 Peter van der Does. All rights reserved.
13+
# Copyright 2012-2016 Peter van der Does. All rights reserved.
1314
#
1415
# Original Author:
1516
# Copyright 2010 Vincent Driessen. All rights reserved.
@@ -243,6 +244,7 @@ showcommands! Show git commands while executing them
243244
F,[no]fetch Fetch from origin before performing finish
244245
r,[no]rebase Rebase before merging
245246
p,[no]preserve-merges Preserve merges while rebasing
247+
[no]push Push to origin after performing finish
246248
k,[no]keep Keep branch after performing finish
247249
keepremote! Keep the remote branch
248250
keeplocal! Keep the local branch
@@ -256,6 +258,7 @@ no-ff! Never fast-forward during the merge
256258
DEFINE_boolean 'fetch' false "fetch from $ORIGIN before performing finish" F
257259
DEFINE_boolean 'rebase' false "rebase before merging" r
258260
DEFINE_boolean 'preserve-merges' false 'try to recreate merges while rebasing' p
261+
DEFINE_boolean 'push' false "push to $ORIGIN after performing finish" p
259262
DEFINE_boolean 'keep' false "keep branch after performing finish" k
260263
DEFINE_boolean 'keepremote' false "keep the remote branch"
261264
DEFINE_boolean 'keeplocal' false "keep the local branch"
@@ -268,6 +271,7 @@ no-ff! Never fast-forward during the merge
268271
gitflow_override_flag_boolean "feature.finish.fetch" "fetch"
269272
gitflow_override_flag_boolean "feature.finish.rebase" "rebase"
270273
gitflow_override_flag_boolean "feature.finish.preserve-merges" "preserve_merges"
274+
gitflow_override_flag_boolean "feature.finish.push" "push"
271275
gitflow_override_flag_boolean "feature.finish.keep" "keep"
272276
gitflow_override_flag_boolean "feature.finish.keepremote" "keepremote"
273277
gitflow_override_flag_boolean "feature.finish.keeplocal" "keeplocal"
@@ -464,6 +468,10 @@ helper_finish_cleanup() {
464468
fi
465469
fi
466470

471+
if flag push; then
472+
git_do push "$ORIGIN" "$BASE_BRANCH" || die "Could not push branch '$BASE_BRANCH' to remote '$ORIGIN'."
473+
fi
474+
467475
echo
468476
echo "Summary of actions:"
469477
echo "- The feature branch '$BRANCH' was merged into '$BASE_BRANCH'"

0 commit comments

Comments
 (0)