bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23075: 24.5; vc-git-command should use coding-system-for-read


From: Nikolay Kudryavtsev
Subject: bug#23075: 24.5; vc-git-command should use coding-system-for-read
Date: Mon, 21 Mar 2016 14:22:36 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

If you have files in your repositories, that are in different coding system from vc-git-commits-coding-system, vc-diff would still show diffs for them in vc-git-commits-coding-system.

This is unnecessary, since vc-diff-internal already decides what coding system to use based on the first file and then sets coding-system-for-read accordingly.

The fix is to change vc-git-command to use coding-system-for-read whenever it's bound.

--
Best Regards,
Nikolay Kudryavtsev






reply via email to

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