[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6704: 23.2; Rename git-commits-coding-system to vc-git-commits-codin

From: Leo
Subject: bug#6704: 23.2; Rename git-commits-coding-system to vc-git-commits-coding-system
Date: Thu, 22 Jul 2010 11:41:42 +0100

It seems git-commits-coding-system should be renamed as shown in the
patch below.

commit 148cbd7fed28b7f9d9017713bb35638a6ab5dd58
Date:   Thu Jul 22 11:38:57 2010 +0100

    Rename git-commits-coding-system to vc-git-commits-coding-system

        Modified lisp/vc-git.el
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 24062a0..2361564 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -118,7 +118,7 @@ If nil, use the value of `vc-diff-switches'.  If t, use no 
   :version "23.1"
   :group 'vc)
-(defvar git-commits-coding-system 'utf-8
+(defvar vc-git-commits-coding-system 'utf-8
   "Default coding system for git commits.")
@@ -543,7 +543,7 @@ or an empty string if none."
 (defun vc-git-checkin (files rev comment)
-  (let ((coding-system-for-write git-commits-coding-system))
+  (let ((coding-system-for-write vc-git-commits-coding-system))
     (vc-git-command nil 0 files "commit"
                    "-m" comment "--only" "--")))
@@ -580,7 +580,7 @@ or an empty string if none."
   "Get change log associated with FILES.
 Note that using SHORTLOG requires at least Git version 1.5.6,
 for the --graph option."
-  (let ((coding-system-for-read git-commits-coding-system))
+  (let ((coding-system-for-read vc-git-commits-coding-system))
     ;; `vc-do-command' creates the buffer, but we need it before running
     ;; the command.
     (vc-setup-buffer buffer)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]