I added some code to install gitflow on an msys based system. I also checked in getopt.exe and libintl3.dll. With this in place, there is no external dependency on gitflow.
The batch install script also will uninstall gitflow if run a second time. Instead of replacing the files, this can be used to clean up everything.
The one drawback is that if getopt.exe/libintl3.dll were in the GIT_HOME/bin before the install, then they will be removed after the install. I think the only way to prevent that is with an actual installer.
Anyway, this is useful for me. If you want to make it a part of your codebase, feel free.
Adding getopt.exe and libintl3.dll to the installation. Also if files…
… are installed, the script will perform an uninstall