Closed MartyLake closed 8 months ago
On Tue, Jun 13, 2023 at 10:45:05AM -0700, Matthieu Talbot wrote:
In
tig
, executing:!git commit --amend
tries to call EDITOR, in my case vim, but fails, displayingvim input is not a from terminal vim output is not from terminal
after that,
tig
is unresponsive and I have to close this terminal and open a new one.
confirmed. We could probably loan the tty to the subprocess here.
Is there a way to call
git commit --amend
from tig that does not suffer from this issue ?
meanwhile you can do
bind generic aca !git commit --amend
or
bind generic aca >git commit --amend
-- Reply to this email directly or view it on GitHub: https://github.com/jonas/tig/issues/1285 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
Thanks for the bind
trick!
As per man tigmanual
you want to do :exec !git commit --amend
to leave the tty to the subprocess.
In
tig
, executing:!git commit --amend
tries to call EDITOR, in my case vim, but fails, displayingafter that,
tig
is unresponsive and I have to close this terminal and open a new one.Is there a way to call
git commit --amend
from tig that does not suffer from this issue ?