Check whether diff supports --label before using it
authorGlenn Morris <rgm@gnu.org>
Mon, 11 Feb 2013 08:28:08 +0000 (00:28 -0800)
committerGlenn Morris <rgm@gnu.org>
Mon, 11 Feb 2013 08:28:08 +0000 (00:28 -0800)
commit5109429f09110cd817d87e1c361ac66aaee28431
treeb41427590654358dece88c8ed40a45f5e0a976e5
parent97a1cd9d27e7d95263b475d03ce39c20a2ff4512
Check whether diff supports --label before using it

* lisp/vc/diff.el (diff-use-labels): New variable.
(diff-no-select): Use --label rather than -L, and first
check that it is supported.

Fixes: debbugs:11067
lisp/ChangeLog
lisp/vc/diff.el