提交 61988f11 编写于 作者: A Alexandre Julliard 提交者: Junio C Hamano

git.el: Avoid using ewoc-set-data for compatibility with Emacs 21.

Signed-off-by: NAlexandre Julliard <julliard@winehq.org>
Acked-by: NKarl Hasselström <kha@treskal.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 be52a41c
......@@ -530,7 +530,7 @@ and returns the process output as a string."
(setf (git-fileinfo->needs-refresh info) t)
(when node ;preserve the marked flag
(setf (git-fileinfo->marked info) (git-fileinfo->marked (ewoc-data node))))
(if node (ewoc-set-data node info) (ewoc-enter-last status info))))
(if node (setf (ewoc-data node) info) (ewoc-enter-last status info))))
(defun git-run-diff-index (status files)
"Run git-diff-index on FILES and parse the results into STATUS.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册