【发布时间】:2013-10-21 01:03:41
【问题描述】:
在 emacs *scratch* 缓冲区中评估 (shell-command-to-string "git pull -q") 会挂起 emacs。
从 bash 中的htop,我注意到在从 emacs 分叉的git pull 进程结束后,总是留下一个 ssh 进程 ssh: git@myrepo.org:22 其参数是我的远程 git 存储库 URL。
而一旦有ssh进程,(shell-command-to-string "git pull -q")正常退出。
除了git pull -q在bash下正常工作。
其他系统信息uname -a:
Linux Edge 3.8.0-31-generic #46~precise1-Ubuntu SMP Wed Sep 11 17:49:16 UTC 2013 i686 i686 i386 GNU/Linux
有人知道吗?
【问题讨论】:
-
您使用的是 SSH 密钥吗?
标签: git shell emacs ssh git-pull