diff options
| author | Glenn Morris | 2017-12-01 22:00:02 -0500 |
|---|---|---|
| committer | Glenn Morris | 2017-12-01 22:00:02 -0500 |
| commit | 52097314c1a160be622dfcf9f40c33190a90be88 (patch) | |
| tree | f93b1bb526169ea5f360b0914c57b7aca9f38686 /admin | |
| parent | 1ed8ff2aa9e1aaee54a6cad38f4c9a595d6c19ed (diff) | |
| download | emacs-52097314c1a160be622dfcf9f40c33190a90be88.tar.gz emacs-52097314c1a160be622dfcf9f40c33190a90be88.zip | |
* admin/gitmerge.el (gitmerge-resolve):
Fix treatment of generated files.
Diffstat (limited to 'admin')
| -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)) |