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
When I open git-cola DAG and try to revert a commit (not the most recent one), git-cola DAG (and git-cola if I opened dag through it) freeze. This is because git commit runs an invisible nano without a terminal window, which blocks waiting for me to enter a commit message.
Interestingly, nano doesn't terminate immediately. I manually ran cat /dev/null | nano, and nano terminates saying Too many errors from stdin.
cola follows what you configure, e.g. git config gui.editor 'gvim -o -f' or use the settings page.
This editor affects only the graphical sessions; git commit on the command line will continue to use your other editor. You need to configure a command that blocks in the foreground, and doesn't fork and return control to the terminal when it runs. What's happening is it's launching using your terminal editor but there's no terminal present.
When I open git-cola DAG and try to revert a commit (not the most recent one), git-cola DAG (and git-cola if I opened dag through it) freeze. This is because
git commit
runs an invisiblenano
without a terminal window, which blocks waiting for me to enter a commit message.Interestingly, nano doesn't terminate immediately. I manually ran
cat /dev/null | nano
, and nano terminates sayingToo many errors from stdin
.In my
git config --global -l
,core.editor=nano
.pstree -al [pid of python]
output:Ignore that I was running pdb. I initially encountered this bug with both git dag spawned from cola, and git dag run directly from shell.
Git Cola master f363095 v3.6.
The text was updated successfully, but these errors were encountered: