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 ae74b46..6d84fd2 100644 (file)
@@ -562,8 +562,9 @@ at point."
                          :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 "    "