You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drop git flow, or at least getopt.exe from MinGit #5422
During a discussion about MinGit's MSYS contents today, I noticed that /usr/bin/getopt.exe from util-linux is included in MinGit. My follow-up investigation led to git-for-windows/build-extra@920c19b which explains that this is needed for git flow.
Seeing as there is a growing amount of evidence that not only is Git Flow over-engineered, but also that the original inventor is totally disinterested in maintaining it, even other volunteers who tried to maintain this over the years seem to have given up.
So let's drop git flow.
Or, if there is too much backlash against that, let's at least ensure that getopt.exe is no longer included in MinGit lest random users try to employ Hyrum's Law and force Git for Windows to bundle this totally unneeded executable forever.
Reacted by Stephan T. Lavavej, Frulfump and Gabi Davar
Reacted by Rodrigo Alves, Joan Bellés and Brendan McDonnell
Dropping git flow in v2.51.1.windows.1 unexpectedly broke our release workflow. (I don't believe there was a deprecation period?)
You're right, there hasn't been any deprecation notice in the release notes.
I mistook the silence about git flow on this bug tracker as silent agreement.
Can you please restore it (or gitflow-avh), at least until git-flow-next has a stable release?
I cannot in good conscience restore gitflow-avh because it is unmaintained, and I cannot include git-flow-next because of the dramatic increase in size (combined with the fact that git flow is not a widely used Git add-on, and therefore it would be unfair to burden the millions of Git for Windows users with the added payload when they do not need it).
The best I can do is to adapt the release workflow to install both Git for Windows and git-flow-next.
To be clear, I wasn't asking for this. I was only asking that you consider a temporary reversion of the removal, until the suggested replacement has a stable release (whether you include it or not).
The best I can do is to adapt the release workflow to install both Git for Windows and git-flow-next.
Once git-flow-next is stable, I'd welcome this if there is sufficient demand, but IDK if there is.
In any case, thanks for your past and ongoing work on Git for Windows. :)
@dscho Are you planning to move forward with adapting the release workflow? I understand that keeping git flow in adds additional burden, but for Windows so far I have not found a practical way of distributing it outside of the git package. Without a prior deprecation notice, this has seriously caught us off-guard and now we have to scramble to ensure our teams don't run into issues. While I have no issue with git-flow-next being included in some way or it being an early release, it too does not seem to provide a very practical distribution mechanism and from my testing it also does not seem to be fully backwards compatible yet. Backwards compatibility seems to be an open ticket.
@dscho Thank you for the quick answer, I can work with that. I mean no offense or disrespect for your excellent work on this project. Going by the release notes and your communication around this issue, it seems to be a sensitive topic. I am just evaluating our options to move forward.
Just for statistics (as I can see that ship has sailed), here's one more +1 for not liking the removal of Git Flow.
We are using Git Flow for all our work, and having it removed from Git for Windows - and also on such notice - is a huge PITA. I do understand the reasons and arguments, and I'm confident we can work around this internally, but it probably poses an unsurmountable hurdle to many of our customers to have their IT departments fix this for them.
Activity
bmcdonnell-fb commentedon Oct 28, 2025
Dropping
git flowin v2.51.1.windows.1 unexpectedly broke our release workflow. (I don't believe there was a deprecation period?)Can you please restore it (or gitflow-avh), at least until git-flow-next has a stable release?
bmcdonnell-fb commentedon Oct 28, 2025
Related: #5901
dscho commentedon Oct 29, 2025
You're right, there hasn't been any deprecation notice in the release notes.
I mistook the silence about
git flowon this bug tracker as silent agreement.I cannot in good conscience restore
gitflow-avhbecause it is unmaintained, and I cannot includegit-flow-nextbecause of the dramatic increase in size (combined with the fact thatgit flowis not a widely used Git add-on, and therefore it would be unfair to burden the millions of Git for Windows users with the added payload when they do not need it).The best I can do is to adapt the release workflow to install both Git for Windows and git-flow-next.
bmcdonnell-fb commentedon Oct 29, 2025
I'm working around the issue by downgrading to 2.51.0.windows.2.. I may try gitflow-cjs, as you suggested on #5395 (comment).
To be clear, I wasn't asking for this. I was only asking that you consider a temporary reversion of the removal, until the suggested replacement has a stable release (whether you include it or not).
Once git-flow-next is stable, I'd welcome this if there is sufficient demand, but IDK if there is.
In any case, thanks for your past and ongoing work on Git for Windows. :)
FHannes commentedon Nov 6, 2025
@dscho Are you planning to move forward with adapting the release workflow? I understand that keeping git flow in adds additional burden, but for Windows so far I have not found a practical way of distributing it outside of the git package. Without a prior deprecation notice, this has seriously caught us off-guard and now we have to scramble to ensure our teams don't run into issues. While I have no issue with git-flow-next being included in some way or it being an early release, it too does not seem to provide a very practical distribution mechanism and from my testing it also does not seem to be fully backwards compatible yet. Backwards compatibility seems to be an open ticket.
dscho commentedon Nov 6, 2025
No. Git Flow is unsupported by its own author, and Git for Windows cannot take over that support.
Oh, it's no longer "in". It's out. It would create a substantial burden to get it back in.
If you must, you can download the
git-flowpackage from https://github.com/git-for-windows/pacman-repo/tree/d4e2da4a5fa47694e15d626e5682a6c336294fa4^, then make a Git installer after adding it to thepackagesinmake-file-list.sh. That way, you can make a Git package that includes Git Flow (and you maintain that).There is absolutely no plan from my side to carry
git-flow-nextin Git for Windows, ever.FHannes commentedon Nov 6, 2025
@dscho Thank you for the quick answer, I can work with that. I mean no offense or disrespect for your excellent work on this project. Going by the release notes and your communication around this issue, it seems to be a sensitive topic. I am just evaluating our options to move forward.
joerghampel commentedon Nov 28, 2025
Just for statistics (as I can see that ship has sailed), here's one more +1 for not liking the removal of Git Flow.
We are using Git Flow for all our work, and having it removed from Git for Windows - and also on such notice - is a huge PITA. I do understand the reasons and arguments, and I'm confident we can work around this internally, but it probably poses an unsurmountable hurdle to many of our customers to have their IT departments fix this for them.