You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When repository contains commit messages in UTF-8 and non-UTF-8 encodings, then commit messages that are differ from i18n.logOutputEncoding are displayed unreadable.
See screenshots
When git config i18n.logOutputEncoding = Windows-1251
When git config i18n.logOutputEncoding = UTF-8
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Make a commit in a repository with a message in non-UTF-8 encoding. E.g.git -c i18n.commitEncoding= Windows-1251 commit ....
Make a commit in a repository with a message in UTF-8 encoding.
Open GitExtensions for the repository. See the bug.
What is the expected behavior?
Commit messages are displayed correctly in i18n.logOutputEncoding even they are made in different encodings (as git log does).
Which versions of GIT and which versions of Windows are affected by this issue? Did this work in previous versions of our tool?
Git < v1.8.4 is NOT affected (I guess) by this issue. Git >= v1.8.4 - IS affected.
The reason is that Git < v1.8.4. did not recode commit message when git log --format= was used. This was fixed in ecaee80 (pretty: --format output should honor logOutputEncoding, 2013-06-26) almost 4 years ago but GitExtensions still relies on a buggy version of Git.
P.S. This issue will be fixed in my pull request.
The text was updated successfully, but these errors were encountered:
ashumkin
added a commit
to ashumkin/gitextensions
that referenced
this issue
May 17, 2017
GitExtensions recodes commit messages that differ from
i18n.logOutputEncoding as Git before v1.8.4 did not do this because of a
a bug. Since v1.8.4 (see commit ecaee80 (pretty: --format output should
honor logOutputEncoding, 2013-06-26) in Git repository) Git does not
have this issue anymore, but GitExtensions still relies on its buggy
behaviour.
Today we know the version of Git with no bug. Let's rely on this
knowledge.
This fixesgitextensions#3707.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When repository contains commit messages in UTF-8 and non-UTF-8 encodings, then commit messages that are differ from
i18n.logOutputEncoding
are displayed unreadable.See screenshots
When
git config i18n.logOutputEncoding = Windows-1251
When
git config i18n.logOutputEncoding = UTF-8
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
git -c i18n.commitEncoding= Windows-1251 commit ...
.What is the expected behavior?
Commit messages are displayed correctly in
i18n.logOutputEncoding
even they are made in different encodings (asgit log
does).Which versions of GIT and which versions of Windows are affected by this issue? Did this work in previous versions of our tool?
Git < v1.8.4 is NOT affected (I guess) by this issue. Git >= v1.8.4 - IS affected.
The reason is that Git < v1.8.4. did not recode commit message when
git log --format=
was used. This was fixed in ecaee80 (pretty: --format output should honor logOutputEncoding, 2013-06-26) almost 4 years ago but GitExtensions still relies on a buggy version of Git.P.S. This issue will be fixed in my pull request.
The text was updated successfully, but these errors were encountered: