[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23076: 24.5; vc-git: add a new variable for log output coding system
From: |
Nikolay Kudryavtsev |
Subject: |
bug#23076: 24.5; vc-git: add a new variable for log output coding system |
Date: |
Mon, 21 Mar 2016 22:01:59 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Since I did this for the other one, here are more detailed steps on how
to repeat this:
1. (setq vc-git-commits-coding-system 'windows-1251)
2. Clone https://github.com/sg2002/vc-git-bugs
3. Run vc-log on it. This would give you broken output.
4. Evaluate the whole fix.el file from the repo.
5. Run vc-log again. Now you would get the proper "Русскоязычный
коммит." in it.
Adding a new variable is the only way to setup git with Russian commit
logs on Windows, while fulfilling all three of the following requirements:
1. Committing from Emacs in Russian should work.
2. vc-log should work in Emacs.
3. git log should work outside of Emacs.
The same should be true for other non-latin alphabets.
--
Best Regards,
Nikolay Kudryavtsev