Git 1.7.10 对git merge提供了一个改进,而这个改进可能会带来兼容性问题,
会导致某些依赖git merge自动完成的工具受到影响。而 Topgit 就中招了。Junio 的一篇博客专门对这个问题做了描述。简单的说就是Git 1.7.10 起,
执行git merge时,成功的合并不会使用默认的(没有意义的)提交说明自动提交,
而是会打开一个编辑器等待用户输入提交说明。这个改动会使得调用git merge的工具在执行时被打断。Topgit 的tg update等命令即受此影响。这个GitHub上的提交即用于解决此问题:From: Jiang XinSubject: [PATCH] No stop to edit for the new merge behavior of git
In Git 1.7.10, Merge will stop and wait for a merge commit log. This
backward-incompatible improvement that will break topgit. To fix it,
just export GIT_MERGE_AUTOEDIT=no.
See: http://git-blame.blogspot.jp/2012/02/anticipating-git-1710.html
Sig
...
继续阅读
(15)