summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-git.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-02-25 12:29:09 +0800
committerChong Yidong <cyd@gnu.org>2012-02-25 12:29:09 +0800
commit67b0de11479247cb8bd8491e10e0b464046f18be (patch)
treeb3d29037c23f8da8ebb981f4742e420287101ee2 /lisp/vc/vc-git.el
parent4963495d7e56e6f1aeca22ce028a4ce8eb010076 (diff)
downloademacs-67b0de11479247cb8bd8491e10e0b464046f18be.tar.gz
Add custom groups for VC backends, for consistency with vc-bzr.
Callers changed. * vc/vc-arch.el (vc-arch): * vc/vc-cvs.el (vc-cvs): * vc/vc-git.el (vc-git): * vc/vc-hg.el (vc-hg): * vc/vc-mtn.el (vc-mtn): * vc/vc-rcs.el (vc-rcs): * vc/vc-sccs.el (vc-sccs): * vc/vc-svn.el (vc-svn): New customization group. Fixes: debbugs:10871
Diffstat (limited to 'lisp/vc/vc-git.el')
-rw-r--r--lisp/vc/vc-git.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 2715fdd142d..dbe591a3ed8 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -109,6 +109,11 @@
(require 'vc-dir)
(require 'grep))
+(defgroup vc-git nil
+ "VC Git backend."
+ :version "24.1"
+ :group 'vc)
+
(defcustom vc-git-diff-switches t
"String or list of strings specifying switches for Git diff under VC.
If nil, use the value of `vc-diff-switches'. If t, use no switches."
@@ -117,13 +122,13 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
(string :tag "Argument String")
(repeat :tag "Argument List" :value ("") string))
:version "23.1"
- :group 'vc)
+ :group 'vc-git)
(defcustom vc-git-program "git"
"Name of the Git executable (excluding any arguments)."
:version "24.1"
:type 'string
- :group 'vc)
+ :group 'vc-git)
(defcustom vc-git-root-log-format
'("%d%h..: %an %ad %s"
@@ -143,7 +148,7 @@ format string (which is passed to \"git log\" via the argument
matching the resulting Git log output, and KEYWORDS is a list of
`font-lock-keywords' for highlighting the Log View buffer."
:type '(list string string (repeat sexp))
- :group 'vc
+ :group 'vc-git
:version "24.1")
(defvar vc-git-commits-coding-system 'utf-8