aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuri Linkov2009-12-14 06:52:59 +0000
committerJuri Linkov2009-12-14 06:52:59 +0000
commitff6f4585eedbefea245ec597e96217271b6fe2d2 (patch)
tree18059c5aa20ae9ce6c0858cedadde83f3c93d104 /lisp
parent2251f3627706a3838cdeb582c7b07c8528a8cb2b (diff)
downloademacs-ff6f4585eedbefea245ec597e96217271b6fe2d2.tar.gz
emacs-ff6f4585eedbefea245ec597e96217271b6fe2d2.zip
(ediff-context-diff-label-regexp): Don't match
whitespace after the file name of the first line of unified format, because git-diff doesn't output whitespace and file modification time after the file name.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/ediff-ptch.el4
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2015c5356cf..df0a394aa66 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12009-12-14 Juri Linkov <juri@jurta.org>
2
3 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
4 whitespace after the file name of the first line of unified format,
5 because git-diff doesn't output whitespace and file modification time
6 after the file name.
7
12009-12-14 David Kastrup <dak@gnu.org> 82009-12-14 David Kastrup <dak@gnu.org>
2 9
3 * info.el (Info-hide-cookies-node): Before hiding a cookie, 10 * info.el (Info-hide-cookies-node): Before hiding a cookie,
diff --git a/lisp/ediff-ptch.el b/lisp/ediff-ptch.el
index 9ae663df68d..9d4d3350a32 100644
--- a/lisp/ediff-ptch.el
+++ b/lisp/ediff-ptch.el
@@ -126,8 +126,8 @@ patch. So, don't change these variables, unless the default doesn't work."
126(defcustom ediff-context-diff-label-regexp 126(defcustom ediff-context-diff-label-regexp
127 (concat "\\(" ; context diff 2-liner 127 (concat "\\(" ; context diff 2-liner
128 "^\\*\\*\\* +\\([^ \t]+\\)[^*]+[\t ]*\n--- +\\([^ \t]+\\)" 128 "^\\*\\*\\* +\\([^ \t]+\\)[^*]+[\t ]*\n--- +\\([^ \t]+\\)"
129 "\\|" ; GNU unified format diff 2-liner 129 "\\|" ; unified format diff 2-liner
130 "^--- +\\([^ \t]+\\)[\t ]+.*\n\\+\\+\\+ +\\([^ \t]+\\)" 130 "^--- +\\([^ \t]+\\).*\n\\+\\+\\+ +\\([^ \t]+\\)"
131 "\\)") 131 "\\)")
132 "Regexp matching filename 2-liners at the start of each context diff. 132 "Regexp matching filename 2-liners at the start of each context diff.
133You probably don't want to change that, unless you are using an obscure patch 133You probably don't want to change that, unless you are using an obscure patch