diff options
| author | Glenn Morris | 2017-12-18 19:49:51 -0500 |
|---|---|---|
| committer | Glenn Morris | 2017-12-18 19:49:51 -0500 |
| commit | 2a8d2d5daf55fe70ce3c07c0f0140835f952f56a (patch) | |
| tree | 55454521c0c28802daa18e376ee927b88c50839b | |
| parent | 1e89864f92b3e1f29592ae914cf6fccce40d49d2 (diff) | |
| download | emacs-2a8d2d5daf55fe70ce3c07c0f0140835f952f56a.tar.gz emacs-2a8d2d5daf55fe70ce3c07c0f0140835f952f56a.zip | |
* admin/gitmerge.el (gitmerge-skip-regexp): Be stricter in batch mode.
| -rw-r--r-- | admin/gitmerge.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/admin/gitmerge.el b/admin/gitmerge.el index efb7d08501c..ba9f2b8f808 100644 --- a/admin/gitmerge.el +++ b/admin/gitmerge.el | |||
| @@ -50,8 +50,16 @@ | |||
| 50 | (defvar gitmerge-skip-regexp | 50 | (defvar gitmerge-skip-regexp |
| 51 | ;; We used to include "sync" in there, but in my experience it only | 51 | ;; We used to include "sync" in there, but in my experience it only |
| 52 | ;; caused false positives. --Stef | 52 | ;; caused false positives. --Stef |
| 53 | "back[- ]?port\\|cherry picked from commit\\|\\(do\\( no\\|n['’]\\)t\\|no need to\\) merge\\|\ | 53 | (let ((skip "back[- ]?port\\|cherry picked from commit\\|\ |
| 54 | re-?generate\\|bump version\\|from trunk\\|Auto-commit" | 54 | \\(do\\( no\\|n['’]\\)t\\|no need to\\) merge\\|\ |
| 55 | bump version\\|Auto-commit")) | ||
| 56 | (if noninteractive skip | ||
| 57 | ;; "Regenerate" is quite prone to false positives. | ||
| 58 | ;; We only want to skip merging things like AUTHORS and ldefs-boot. | ||
| 59 | ;; These should be covered by "bump version" and "auto-commit". | ||
| 60 | ;; It doesn't do much harm if we merge one of those files by mistake. | ||
| 61 | ;; So it's better to err on the side of false negatives. | ||
| 62 | (concat skip "\\|re-?generate\\|from trunk"))) | ||
| 55 | "Regexp matching logs of revisions that might be skipped. | 63 | "Regexp matching logs of revisions that might be skipped. |
| 56 | `gitmerge-missing' will ask you if it should skip any matches.") | 64 | `gitmerge-missing' will ask you if it should skip any matches.") |
| 57 | 65 | ||