diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-04-10 19:04:33 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-04-10 19:04:33 +0300 |
commit | 668c7bc5ba761551ef0d08dc96080eb5aa169da1 (patch) | |
tree | 645abdf4180791db1bf7bf8959252020db9f606b /lisp/emacs-lisp/testcover.el | |
parent | b57076929f0e904864e1457d5789f2fe6652fc84 (diff) | |
download | emacs-668c7bc5ba761551ef0d08dc96080eb5aa169da1.tar.gz emacs-668c7bc5ba761551ef0d08dc96080eb5aa169da1.tar.bz2 emacs-668c7bc5ba761551ef0d08dc96080eb5aa169da1.zip |
Improve handling of non-ASCII characters in Git log messages
* lisp/vc/vc-git.el (vc-git-commits-coding-system): Now a defcustom.
(vc-git-log-output-coding-system): New defcustom.
(vc-git-print-log, vc-git-command, vc-git--call): Use
'vc-git-log-output-coding-system' for reading stuff from Git.
Don't override values of 'coding-system-for-read/write' if they
are bound by caller -- this allows the user to force an encoding
via "C-x RET c".
(vc-git-checkin): On MS-Windows, pass the log message via a
temporary file, to work around the limitations on passing
non-ASCII characters via command-line arguments. Force using the
'locale-coding-system' for Git command-line arguments. This fixes
problems with non-ASCII commit log messages on MS-Windows.
(Bug#23076)
* etc/NEWS: Mention the new vc-git related defcustoms.
Diffstat (limited to 'lisp/emacs-lisp/testcover.el')
0 files changed, 0 insertions, 0 deletions