From a941a2a9245dea5657183b14808402b0be4d3e18 Mon Sep 17 00:00:00 2001 From: Peter van der Does Date: Thu, 23 May 2019 10:16:11 -0400 Subject: [PATCH 1/8] Preparation for next release --- CHANGELOG.md | 3 +++ git-flow-version | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fd5f02..5fc35ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,9 @@ # Changelog +#### 1.12.4-dev0 +* Preparation for next release + #### 1.12.3 * Explicitly get the default values from the system and global config. diff --git a/git-flow-version b/git-flow-version index e5814e8..324984c 100644 --- a/git-flow-version +++ b/git-flow-version @@ -37,7 +37,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -GITFLOW_VERSION=1.12.3 +GITFLOW_VERSION=1.12.4-dev0 initialize() { # A function can not be empty. Comments count as empty. From 16177915cf4c07ce839919eb74d75e66d59973ea Mon Sep 17 00:00:00 2001 From: Luis Fernando Gomes Date: Wed, 8 Nov 2017 15:54:06 -0200 Subject: [PATCH 2/8] Add --noedit flag that accept the auto-generated message on merging --- AUTHORS | 1 + git-flow-release | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/AUTHORS b/AUTHORS index 8fcecea..9111598 100644 --- a/AUTHORS +++ b/AUTHORS @@ -55,6 +55,7 @@ Justin Penney Konstantin Tjuterev Kridsada Thanabulpong Leonardo Giordani +Luis Fernando Gomes @luiscoms Mark Borcherding Mark Derricutt Mateusz Kaczmarek diff --git a/git-flow-release b/git-flow-release index 3c10f5a..93c5c3b 100644 --- a/git-flow-release +++ b/git-flow-release @@ -104,12 +104,15 @@ _finish_from_develop() { # but the merge into master was successful, we skip it now if ! git_is_branch_merged_into "$BRANCH" "$MASTER_BRANCH"; then git_do checkout "$MASTER_BRANCH" || die "Could not check out branch '$MASTER_BRANCH'." + + opts="" + noflag edit && opts="$opts --no-edit" if noflag squash; then - git_do merge --no-ff "$BRANCH" || die "There were merge conflicts." # TODO: What do we do now? + git_do merge --no-ff $opts "$BRANCH" || die "There were merge conflicts." # TODO: What do we do now? else - git_do merge --squash "$BRANCH" || die "There were merge conflicts." # TODO: What do we do now? + git_do merge --squash $opts "$BRANCH" || die "There were merge conflicts." # TODO: What do we do now? flag squash_info && gitflow_create_squash_message "Merged release branch '$BRANCH'" "$MASTER_BRANCH" "$BRANCH" > "$DOT_GIT_DIR/SQUASH_MSG" - git_do commit + git_do commit $opts fi fi @@ -150,6 +153,8 @@ _finish_from_develop() { if ! git_is_branch_merged_into "$merge_branch" "$DEVELOP_BRANCH"; then git_do checkout "$DEVELOP_BRANCH" || die "Could not check out branch '$DEVELOP_BRANCH'." + opts="" + noflag edit && opts="$opts --no-edit" if noflag nobackmerge; then # Accounting for 'git describe', if a release is tagged # we use the tag commit instead of the branch. @@ -158,15 +163,15 @@ _finish_from_develop() { else commit="$MASTER_BRANCH" fi - git_do merge --no-ff "$commit" || die "There were merge conflicts." # TODO: What do we do now? + git_do merge --no-ff $opts "$commit" || die "There were merge conflicts." # TODO: What do we do now? else commit="$BRANCH" if noflag squash; then - git_do merge --no-ff "$commit" || die "There were merge conflicts." # TODO: What do we do now? + git_do merge --no-ff $opts "$commit" || die "There were merge conflicts." # TODO: What do we do now? else - git_do merge --squash "$commit" || die "There were merge conflicts." # TODO: What do we do now? + git_do merge --squash $opts "$commit" || die "There were merge conflicts." # TODO: What do we do now? flag squash_info && gitflow_create_squash_message "Merged release branch '$BRANCH'" "$DEVELOP_BRANCH" "$BRANCH" > "$DOT_GIT_DIR/SQUASH_MSG" - git_do commit + git_do commit $opts fi fi fi @@ -603,7 +608,7 @@ v,verbose! Verbose (more) output cmd_finish() { OPTIONS_SPEC="\ -git flow release finish [-h] [-F] [-s] [-u] [-m | -f] [-p] [-k] [-n] [-b] [-S] +git flow release finish [-h] [-F] [-s] [-u] [-m | -f] [-p] [-k] [-n] [-b] [-S] [-e] Finish a release branch @@ -627,6 +632,7 @@ n,[no]tag Don't tag this release b,[no]nobackmerge Don't back-merge master, or tag if applicable, in develop S,[no]squash Squash release during merge [no]ff-master Fast forward master branch if possible +e,[no]edit The --noedit option can be used to accept the auto-generated message on merging T,tagname! Use given tag name nodevelopmerge! Don't back-merge develop branch " @@ -649,6 +655,7 @@ nodevelopmerge! Don't back-merge develop branch DEFINE_boolean 'squash' false "squash release during merge" S DEFINE_boolean 'squash-info' false "add branch info during squash" DEFINE_boolean 'ff-master' false "fast forward master branch if possible" + DEFINE_boolean 'edit' true "accept the auto-generated message on merging" e DEFINE_string 'tagname' "" "use the given tag name" T DEFINE_boolean 'nodevelopmerge' false "don't merge $BRANCH into $DEVELOP_BRANCH " From 40fc2df960d034cb57dd277af7501be6884f767e Mon Sep 17 00:00:00 2001 From: Luis Fernando Gomes Date: Thu, 21 Jun 2018 16:22:30 -0300 Subject: [PATCH 3/8] Fix anotated tag without message --- git-flow-release | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/git-flow-release b/git-flow-release index 93c5c3b..88e84b7 100644 --- a/git-flow-release +++ b/git-flow-release @@ -134,6 +134,12 @@ _finish_from_develop() { opts="$opts -m '$FLAGS_message'" fi [ "$FLAGS_messagefile" != "" ] && opts="$opts -F '$FLAGS_messagefile'" + if noflag edit; then + if [ "$FLAGS_message" = "" ] && [ "$FLAGS_messagefile" = "" ]; then + # in order to fix annotated tag without message + opts="$opts -m $VERSION_PREFIX$TAGNAME" + fi + fi eval git_do tag $opts "$VERSION_PREFIX$TAGNAME" || die "Tagging failed. Please run finish again to retry." fi fi @@ -330,6 +336,12 @@ _finish_base() { opts="$opts -m '$FLAGS_message'" fi [ "$FLAGS_messagefile" != "" ] && opts="$opts -F '$FLAGS_messagefile'" + if noflag edit; then + if [ "$FLAGS_message" = "" ] && [ "$FLAGS_messagefile" = "" ]; then + # in order to fix annotated tag without message + opts="$opts -m $VERSION_PREFIX$TAGNAME" + fi + fi eval git_do tag $opts "$VERSION_PREFIX$TAGNAME" || die "Tagging failed. Please run finish again to retry." fi fi From 9441f264bc28d75ea2b543e578b3003bdad7138f Mon Sep 17 00:00:00 2001 From: Chris Stone Date: Sat, 10 Jun 2023 08:21:08 -0600 Subject: [PATCH 4/8] Update README.md --- README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/README.md b/README.md index 53b8dce..44536e0 100644 --- a/README.md +++ b/README.md @@ -231,14 +231,3 @@ the command. The files should be placed in .git/hooks In the directory hooks you can find examples of all the hooks available. -## Showing your appreciation - -Of course, the best way to show your appreciation for the git-flow tool itself -remains contributing to the community. If you'd like to show your appreciation -in another way, however, consider donating through PayPal: - -[![PayPal][2]][1] - -[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¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted - -[2]: https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif From 1025b154e450e575e49dc9091e6d38fafe42a171 Mon Sep 17 00:00:00 2001 From: ChrisjStone Date: Sun, 11 Jun 2023 00:37:13 -0600 Subject: [PATCH 5/8] Updated links to reference my fork --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 44536e0..b4fb067 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ A quick cheatsheet was made by Daniel Kummer: ## Installing git-flow -See the Wiki for up-to-date [Installation Instructions](https://github.com/petervanderdoes/gitflow-avh/wiki/Installation). +See the Wiki for up-to-date [Installation Instructions](https://github.com/CJ-Systems/gitflow-cjs/wiki/Installation). ## Integration with your shell @@ -40,7 +40,7 @@ for the commands not found in the original git-flow. ## FAQ -* See the [FAQ](http://github.com/petervanderdoes/gitflow-avh/wiki/FAQ) section +* See the [FAQ](https://github.com/CJ-Systems/gitflow-cjs/wiki/FAQ) section of the project Wiki. * Version Numbering Scheme. Starting with version 1.0, the project uses the following scheme: @@ -51,7 +51,7 @@ Starting with version 1.0, the project uses the following scheme: This project is under constant development. Feedback and suggestions are very welcome and I encourage you to use the [Issues -list](http://github.com/petervanderdoes/gitflow-avh/issues) on Github to provide that +list](https://github.com/CJ-Systems/gitflow-cjs/issues) on Github to provide that feedback. Feel free to fork this repository and to commit your additions. For a list of From f1f1dedca7d18fe157df8aa979384e6c4eb644c9 Mon Sep 17 00:00:00 2001 From: ChrisjStone Date: Sun, 11 Jun 2023 00:37:22 -0600 Subject: [PATCH 6/8] Version bump 1.12.4-rc.1 --- git-flow-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-flow-version b/git-flow-version index 324984c..989f430 100644 --- a/git-flow-version +++ b/git-flow-version @@ -37,7 +37,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -GITFLOW_VERSION=1.12.4-dev0 +GITFLOW_VERSION=1.12.4-rc.1 initialize() { # A function can not be empty. Comments count as empty. From 79b57ed0208e1db5e5959b25288399d2e81ac9a1 Mon Sep 17 00:00:00 2001 From: ChrisjStone Date: Sun, 11 Jun 2023 00:37:29 -0600 Subject: [PATCH 7/8] Update of the contributers. --- AUTHORS | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 9111598..009ef62 100644 --- a/AUTHORS +++ b/AUTHORS @@ -20,13 +20,17 @@ Fred Condo Alexandre Dutra Andreas Heiduk Ben Loveridge +ChrisjStone Florian Gamböck Gergely Nagy JP Toto Kiall Mac Innes Lorin Hochstein +Luis Fernando Gomes Olivier Mengué Oppodelldog +Pokey Rule +Silas Palmer Stefan Näwe Adam Gibbins Alexander Groß @@ -35,8 +39,10 @@ Alexander Zeitler Brian St. Pierre Cararus Eugeniu Chad Walker +Chris Stone Craig Fowler Emre Berge Ergenekon +Gene Pavlovsky Gregor A. Cieslak Gruen Christian-Rolf (Kiki) Guillaume-Jean Herbiet @@ -55,7 +61,7 @@ Justin Penney Konstantin Tjuterev Kridsada Thanabulpong Leonardo Giordani -Luis Fernando Gomes @luiscoms +Luca Orlandi Mark Borcherding Mark Derricutt Mateusz Kaczmarek @@ -64,12 +70,12 @@ Mayerber Carvalho Neto Nowell Strite Opher Vishnia Peter Schröder -Pokey Rule Stefan Schüßler Steffen Jaeckel Steve Mao Steve Streeting Tacit Sawk +Tiscs Vedang Manerikar Zheeeng eddie cianci From 6995507a1e1dd51f33a02e1003de995f0154cd67 Mon Sep 17 00:00:00 2001 From: ChrisjStone Date: Sun, 11 Jun 2023 00:37:29 -0600 Subject: [PATCH 8/8] Version bump 1.12.4 --- git-flow-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-flow-version b/git-flow-version index 989f430..5707b04 100644 --- a/git-flow-version +++ b/git-flow-version @@ -37,7 +37,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -GITFLOW_VERSION=1.12.4-rc.1 +GITFLOW_VERSION=1.12.4 initialize() { # A function can not be empty. Comments count as empty.