aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS2
-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
-rw-r--r--man/ChangeLog2
-rw-r--r--man/vc2-xtra.texi2
7 files changed, 19 insertions, 12 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4ec011c07c3..21194e24a2f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -100,6 +100,8 @@ considered for update.
100 100
101*** VC has some support for Mercurial (hg). 101*** VC has some support for Mercurial (hg).
102 102
103*** VC has some support for Git.
104
103** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs. 105** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
104 106
105** BibTeX mode: 107** BibTeX mode:
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)
diff --git a/man/ChangeLog b/man/ChangeLog
index c393eb02589..08ba464789a 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,5 +1,7 @@
12007-07-26 Dan Nicolaescu <dann@ics.uci.edu> 12007-07-26 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * vc2-xtra.texi (Customizing VC): Add GIT.
4
3 * dired.texi (Wdired): Mention C-x C-q key binding. 5 * dired.texi (Wdired): Mention C-x C-q key binding.
4 6
52007-07-25 Glenn Morris <rgm@gnu.org> 72007-07-25 Glenn Morris <rgm@gnu.org>
diff --git a/man/vc2-xtra.texi b/man/vc2-xtra.texi
index 7627787d1d2..83f28088726 100644
--- a/man/vc2-xtra.texi
+++ b/man/vc2-xtra.texi
@@ -590,7 +590,7 @@ headers.
590@vindex vc-handled-backends 590@vindex vc-handled-backends
591The variable @code{vc-handled-backends} determines which version 591The variable @code{vc-handled-backends} determines which version
592control systems VC should handle. The default value is @code{(RCS CVS 592control systems VC should handle. The default value is @code{(RCS CVS
593SVN SCCS BZR HG Arch MCVS)}, so it contains all the version systems 593SVN SCCS BZR GIT HG Arch MCVS)}, so it contains all the version systems
594that are currently supported. If you want VC to ignore one or more of 594that are currently supported. If you want VC to ignore one or more of
595these systems, exclude its name from the list. To disable VC entirely, 595these systems, exclude its name from the list. To disable VC entirely,
596set this variable to @code{nil}. 596set this variable to @code{nil}.