Using magit over TRAMP with the ssh method works almost
flawlessly. But for some reason when I commit and C-c C-c the
*magit-edit-log* buffer will hang the Emacs process.
The commit will actually go through though, and as soon as I do C-g
the editing buffer will go away and Emacs will un-hang.
Here's *Messages* while this happens:
Wrote /tmp/tramp.17254Vso.pl
Mark set
Saving file /ssh:dc01dev-03:/home/aearnfjord/git_tree/main/some_file.pl...
Wrote /ssh:dc01dev-03:/home/aearnfjord/git_tree/main/some_file.pl
(No changes need to be saved)
Type C-c C-c to commit (C-c C-k to cancel).
Tramp: Opening connection for dc01dev-03 using ssh...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `exec ssh dc01dev-03 -q -e none'
Tramp: Waiting for prompts from remote shell
Tramp: Found remote shell prompt on `dc01dev-03'
Then it does this, and hangs:
Git finished.
And this is me doing C-g:
Quit
I'm running Emacs 23.2.1 and eaf3e146c3 of magit. But this has been
going on for several months with multiple magit versions so it's not
an issue with that specific one.
I could debug this myself if I knew how to trace what Emacs is doing
when it's hanging, or had some subroutine profiler that I could run
while Emacs is running. But I haven't found a way to do that.