petervanderdoes/gitflow-avh

Git flow release start with hash code fails

mamejimenez opened this issue · 2 comments

The following may be a Git Flow issue or a Git for Windows issue. In addition to this ticket I also opened the following:

git-for-windows/git#2176

And:

nvie/gitflow#6444

With the following environment:
Git for Windows:

git version 2.21.0.windows.1
cpu: x86_64
built from commit: 2481c4cbe949856f270a3ee80c802f5dd89381aa
sizeof-long: 4
sizeof-size_t: 8

Windows Version:

$ cmd.exe /c ver
Microsoft Windows [Version 6.1.7601]

I have the following issue
$ git flow release start v12.12.12.0 8c165e101d7b2d8f8e7bd6f73edc9a56c3e9c4cf
Fatal: Base '8c165e101d7b2d8f8e7bd6f73edc9a56c3e9c4cf' needs to be a branch. It
does not exist and is required.

Notes
This does not happen when using Git for Windows version 2.13.1.windows.2 or git for *nix 2.17.

The same issue happens when using SourceTool 3.1.2 (embedded or system).

The work around is to use the following raw command:

git checkout -b release/12.12.12.0 8c165e101d7b2d8f8e7bd6f73edc9a56c3e9c4cf

Hey,

I have the same issue on MacOs using the latest dev build installed with Homebrew:

$ git flow version
1.12.4-dev0 (AVH Edition)

$ git flow release start 1.82.3 1c34b7853570d184e754a6700b9adb7640fe4c2f
Fatal: Base '1c34b7853570d184e754a6700b9adb7640fe4c2f' needs to be a branch. It does not exist and is required.

Sorry to hear that you are having the same issue. Did you try the work around mentioned above by me? Here is that excerpt:

"The work around is to use the following raw command:

git checkout -b release/12.12.12.0 8c165e101d7b2d8f8e7bd6f73edc9a56c3e9c4cf"