aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDan Nicolaescu2007-07-26 18:44:39 +0000
committerDan Nicolaescu2007-07-26 18:44:39 +0000
commit625f71cff9f69fb0ca47aedbb69111f22186e628 (patch)
treeae1b10268077f9f911678e59206a629a9f8f11a8 /lisp
parent108607bc25dcb8d4aac102661e18ca4c19d418c4 (diff)
downloademacs-625f71cff9f69fb0ca47aedbb69111f22186e628.tar.gz
emacs-625f71cff9f69fb0ca47aedbb69111f22186e628.zip
* vc-git.el: Relicense to GPLv3 or later.
(vc-directory-exclusion-list, vc-handled-backends): Remove. * vc-hooks.el (vc-handled-backends): Add GIT. * vc.el (vc-directory-exclusion-list): Add .git. * vc2-xtra.texi (Customizing VC): Add GIT.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/vc-git.el8
-rw-r--r--lisp/vc-hooks.el6
-rw-r--r--lisp/vc.el2
4 files changed, 14 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ad836f8ef03..616dfd16859 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12007-07-26 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc-git.el: Relicense to GPLv3 or later.
4 (vc-directory-exclusion-list, vc-handled-backends): Remove.
5
6 * vc-hooks.el (vc-handled-backends): Add GIT.
7
8 * vc.el (vc-directory-exclusion-list): Add .git.
9
12007-07-26 Alexandre Julliard <julliard@winehq.org> 102007-07-26 Alexandre Julliard <julliard@winehq.org>
2 11
3 * vc-git.el (vc-git-revision-table) 12 * vc-git.el (vc-git-revision-table)
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 619199fc287..7e358ed0238 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 2, or (at your option) 12;; the Free Software Foundation; either version 3, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -114,12 +114,6 @@
114(defvar git-commits-coding-system 'utf-8 114(defvar git-commits-coding-system 'utf-8
115 "Default coding system for git commits.") 115 "Default coding system for git commits.")
116 116
117;; XXX when this backend is considered sufficiently reliable this
118;; should be moved to vc-hooks.el
119(add-to-list 'vc-handled-backends 'GIT)
120(eval-after-load "vc"
121 '(add-to-list 'vc-directory-exclusion-list ".git" t))
122
123;;; BACKEND PROPERTIES 117;;; BACKEND PROPERTIES
124 118
125(defun vc-git-revision-granularity () 119(defun vc-git-revision-granularity ()
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index 15238751679..a8b6297caa2 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -62,9 +62,9 @@ interpreted as hostnames."
62 :type 'regexp 62 :type 'regexp
63 :group 'vc) 63 :group 'vc)
64 64
65(defcustom vc-handled-backends '(RCS CVS SVN SCCS BZR HG Arch MCVS) 65(defcustom vc-handled-backends '(RCS CVS SVN SCCS BZR GIT HG Arch MCVS)
66 ;; BZR, HG, Arch and MCVS come last because they are per-tree rather 66 ;; BZR, GIT, HG, Arch and MCVS come last because they are per-tree
67 ;; than per-dir. 67 ;; rather than per-dir.
68 "List of version control backends for which VC will be used. 68 "List of version control backends for which VC will be used.
69Entries in this list will be tried in order to determine whether a 69Entries in this list will be tried in order to determine whether a
70file is under that sort of version control. 70file is under that sort of version control.
diff --git a/lisp/vc.el b/lisp/vc.el
index 47d231eb2c7..08baa16e6b4 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -587,7 +587,7 @@ These are passed to the checkin program by \\[vc-register]."
587 :version "20.3") 587 :version "20.3")
588 588
589(defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS" "MCVS" ".svn" 589(defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS" "MCVS" ".svn"
590 ".hg" ".bzr" "{arch}") 590 ".git" ".hg" ".bzr" "{arch}")
591 "List of directory names to be ignored when walking directory trees." 591 "List of directory names to be ignored when walking directory trees."
592 :type '(repeat string) 592 :type '(repeat string)
593 :group 'vc) 593 :group 'vc)