diff options
| author | Dan Nicolaescu | 2007-07-26 18:44:39 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-07-26 18:44:39 +0000 |
| commit | 625f71cff9f69fb0ca47aedbb69111f22186e628 (patch) | |
| tree | ae1b10268077f9f911678e59206a629a9f8f11a8 | |
| parent | 108607bc25dcb8d4aac102661e18ca4c19d418c4 (diff) | |
| download | emacs-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.
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/vc-git.el | 8 | ||||
| -rw-r--r-- | lisp/vc-hooks.el | 6 | ||||
| -rw-r--r-- | lisp/vc.el | 2 | ||||
| -rw-r--r-- | man/ChangeLog | 2 | ||||
| -rw-r--r-- | man/vc2-xtra.texi | 2 |
7 files changed, 19 insertions, 12 deletions
| @@ -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 @@ | |||
| 1 | 2007-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 | |||
| 1 | 2007-07-26 Alexandre Julliard <julliard@winehq.org> | 10 | 2007-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. |
| 69 | Entries in this list will be tried in order to determine whether a | 69 | Entries in this list will be tried in order to determine whether a |
| 70 | file is under that sort of version control. | 70 | file 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 @@ | |||
| 1 | 2007-07-26 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2007-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 | ||
| 5 | 2007-07-25 Glenn Morris <rgm@gnu.org> | 7 | 2007-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 |
| 591 | The variable @code{vc-handled-backends} determines which version | 591 | The variable @code{vc-handled-backends} determines which version |
| 592 | control systems VC should handle. The default value is @code{(RCS CVS | 592 | control systems VC should handle. The default value is @code{(RCS CVS |
| 593 | SVN SCCS BZR HG Arch MCVS)}, so it contains all the version systems | 593 | SVN SCCS BZR GIT HG Arch MCVS)}, so it contains all the version systems |
| 594 | that are currently supported. If you want VC to ignore one or more of | 594 | that are currently supported. If you want VC to ignore one or more of |
| 595 | these systems, exclude its name from the list. To disable VC entirely, | 595 | these systems, exclude its name from the list. To disable VC entirely, |
| 596 | set this variable to @code{nil}. | 596 | set this variable to @code{nil}. |