diff options
Diffstat (limited to 'lisp/vc.el')
-rw-r--r-- | lisp/vc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index e946191a0e0..b54523fa48f 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -3030,7 +3030,7 @@ If NOINSERT, ignore elements on ENTRIES which are not in the ewoc." (cond ((string-lessp nodefile entryfile) (setq node (ewoc-next vc-status node))) - ((string-lessp nodefile entryfile) + ((string-lessp entryfile nodefile) (unless noinsert (ewoc-enter-before vc-status node (apply 'vc-status-create-fileinfo entry))) |