chiark / gitweb /
stgit.el: Bugfix listing copied/renamed files
authorGustav Hållberg <gustav@virtutech.com>
Wed, 5 Aug 2009 13:21:27 +0000 (15:21 +0200)
committerGustav Hållberg <gustav@virtutech.com>
Thu, 6 Aug 2009 20:49:08 +0000 (22:49 +0200)
Signed-off-by: Gustav Hållberg <gustav@virtutech.com>
contrib/stgit.el

index ae74b46e6e75a69ab2d9ccb4d0c6aa7dae8d9ff3..6d84fd231293b799ee2e19cbc606fea6433b18c2 100644 (file)
@@ -562,8 +562,9 @@ (defun stgit-insert-patch-files (patch)
                          :status         (stgit-file-status-code
                                           (match-string 1))
                          :file           (match-string 2))))))
-            (ewoc-enter-last ewoc file))
-          (goto-char (match-end 0))))
+            (goto-char (match-end 0))
+            (ewoc-enter-last ewoc file))))
+
       (unless (ewoc-nth ewoc 0)
         (ewoc-set-hf ewoc ""
                      (concat "    "