unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Don't merge!!!!  But it did.  :-(
@ 2017-03-28 20:14 Alan Mackenzie
  2017-03-28 20:57 ` Paul Eggert
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Mackenzie @ 2017-03-28 20:14 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

Back in December, I changed the CC Mode version number in Emacs-25,
labelling the commit message with "Don't merge to trunk."  However, that
change _was_ merged to trunk.

Looking at .../admin/gitmerge.el, it is apparent that the injunction not
to merge to trunk is recognised by a script, not a human, and the script
doesn't recognise "don't", only "do not" written in full.

To prevent this happening to anybody else, or to me again, I propose to
enhance the pertinent regexp also to recognise "don't".  Any objections?



diff --git a/admin/gitmerge.el b/admin/gitmerge.el
index c3981dd..6e71ee5 100644
--- a/admin/gitmerge.el
+++ b/admin/gitmerge.el
@@ -50,7 +50,7 @@
 (defvar gitmerge-skip-regexp
   ;; We used to include "sync" in there, but in my experience it only
   ;; caused false positives.  --Stef
-  "back[- ]?port\\|cherry picked from commit\\|\\(do not\\|no need to\\) merge\\|\
+  "back[- ]?port\\|cherry picked from commit\\|\\(do\\( no\\|n'\\)t\\|no need to\\) merge\\|\
 re-?generate\\|bump version\\|from trunk\\|Auto-commit"
   "Regexp matching logs of revisions that might be skipped.
 `gitmerge-missing' will ask you if it should skip any matches.")



-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-28 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28 20:14 Don't merge!!!! But it did. :-( Alan Mackenzie
2017-03-28 20:57 ` Paul Eggert
2017-03-28 21:08   ` Alan Mackenzie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).