unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6704: 23.2; Rename git-commits-coding-system to vc-git-commits-coding-system
@ 2010-07-22 10:41 Leo
  2010-12-03 18:50 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2010-07-22 10:41 UTC (permalink / raw)
  To: 6704

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 switches."
   :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.")
 
 ;;; BACKEND PROPERTIES
@@ -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)






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#6704: 23.2; Rename git-commits-coding-system to vc-git-commits-coding-system
  2010-07-22 10:41 bug#6704: 23.2; Rename git-commits-coding-system to vc-git-commits-coding-system Leo
@ 2010-12-03 18:50 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2010-12-03 18:50 UTC (permalink / raw)
  To: 6704-done


2010-10-31  Stefan Monnier  <monnier at iro.umontreal.ca>

    * vc-git.el (vc-git-commits-coding-system): Rename from
    git-commits-coding-system.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-03 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 10:41 bug#6704: 23.2; Rename git-commits-coding-system to vc-git-commits-coding-system Leo
2010-12-03 18:50 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).