angusshire / greenhat

:construction_worker: Quick hack for making real work happen.
GNU General Public License v3.0
1.55k stars 172 forks source link

Unknown switch fails execution on git bash (windows) #22

Open ayushoriginal opened 8 years ago

ayushoriginal commented 8 years ago

When I run greenhat on windows (git bash), the release fails due to an unknown switch being passed to git add.

OUTPUT LOG $ python greenhat.py 5 error: unknown switchm' usage: git rm [options] [--] ...

-n, --dry-run         dry run
-q, --quiet           do not list removed files
--cached              only remove from the index
-f, --force           override the up-to-date check
-r                    allow recursive removal
--ignore-unmatch      exit with a zero status even if nothing matched`

After a short skimp through the source, I thought that multiple git commands were being executed at the same time because the ';' separator does not work in windows cmd. (Although I know that it does work in 'git bash'). Could anyone clarify the problem? Can we separate out the commands in the original source such that they also run in windows? If not, then can anyone send a Pull Request for a windows version of GreenHat at https://github.com/ayushoriginal/greenhat

TilakMaddy commented 8 years ago

@ayushoriginal I too am getting the same error !

TilakMaddy commented 8 years ago

@ayushoriginal you already seem to have your calendar filled up bro !

spjoshis commented 7 years ago

I am also getting this error

2efPer commented 7 years ago

not working anymore :(

erstens commented 7 years ago

1