Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Interactive rebase does not work under windows #463
This is caused by the fact that git-cola sets GIT_SEQUENCE_EDITOR to git-xbase in cmds.py, but it is set to the windows path while the variable is used inside a shell script in git which requires linux style paths.
I got it to work by setting GIT_SEQUENCE_EDITOR in my global windows environment and removing the compat.setenv('GIT_SEQUENCE_EDITOR',...) and the compat.unsetenv('GIT_SEQUENCE_EDITOR') from cmds.py.
Thanks for the careful diagnosis. Can you show me an example of what the windows path looks like, and what the linux path should look like? is it,
which should instead be
? If so, we can probably do a platform check there and have a function that tweaks the variable we emit into the environment. what do you think?
Fails with network paths!
Cure: in cmds.py: