unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: 6704@debbugs.gnu.org
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	[thread overview]
Message-ID: <m1eiev3ijd.fsf@cam.ac.uk> (raw)

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)






             reply	other threads:[~2010-07-22 10:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 10:41 Leo [this message]
2010-12-03 18:50 ` bug#6704: 23.2; Rename git-commits-coding-system to vc-git-commits-coding-system Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1eiev3ijd.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=6704@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).