I tried to set git config global sequence.editor like (to 
/usr/bin/git-cola-sequence-editor binary):
`git config --global --path --add sequence.editor $(locate 
git-cola-sequence-editor)`

and this seems to apply for command line git rebase, but not for rebase
launched from git cola itself, I guess that overrides the setting with
it's own path.

So I worked around this by just introducing symlink at expected location, ie:
```
sudo mkdir -p /usr/lib/python3/dist-packages/bin
cd /usr/lib/python3/dist-packages/bin
sudo ln -s /usr/bin/git-cola-sequence-editor git-cola-sequence-editor
```

I tried to find this path in some git cola config, but I didn't find
anything, and checking the git-cola github and its source I'm again not
sure where it comes from (I'm not familiar with python), guessing by its
Makefile uninstall step, it almost feels like somebody just `mv` the
file from original location to /usr/bin without updating the path set by
install step, but I could be completely wrong about how python stuff
works. Either way I have no idea where the .../python3/dist-packages/...
path string is stored.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067317

Title:
  fatal: cannot exec git-cola-sequence-editor' on git rebase

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git-cola/+bug/2067317/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to