diff options
| -rw-r--r-- | admin/gitmerge.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/gitmerge.el b/admin/gitmerge.el index b9b511fbee2..e9e033517d0 100644 --- a/admin/gitmerge.el +++ b/admin/gitmerge.el | |||
| @@ -292,9 +292,11 @@ Returns non-nil if conflicts remain." | |||
| 292 | )) | 292 | )) |
| 293 | ;; Try to resolve the conflicts. | 293 | ;; Try to resolve the conflicts. |
| 294 | (cond | 294 | (cond |
| 295 | ((member file '("configure" "lisp/ldefs-boot.el" | 295 | ;; Generated files. |
| 296 | "lisp/emacs-lisp/cl-loaddefs.el")) | 296 | ((member file '("lisp/ldefs-boot.el")) |
| 297 | ;; We are in the file's buffer, so names are relative. | 297 | ;; We are in the file's buffer, so names are relative. |
| 298 | (call-process "git" nil t nil "reset" "--" | ||
| 299 | (file-name-nondirectory file)) | ||
| 298 | (call-process "git" nil t nil "checkout" "--" | 300 | (call-process "git" nil t nil "checkout" "--" |
| 299 | (file-name-nondirectory file)) | 301 | (file-name-nondirectory file)) |
| 300 | (revert-buffer nil 'noconfirm)) | 302 | (revert-buffer nil 'noconfirm)) |