msysgit / git

msysGit-based Git for Windows 1.x is now superseded by Git for Windows 2.x
http://github.com/git-for-windows/git
Other
1.01k stars 316 forks source link

git log: occasionally lost line wrapping in the output log when using in commits russian letters #240

Closed MichaelGr closed 10 years ago

MichaelGr commented 10 years ago

I have used a lot of combinations of different keys of 'log' command, for example: git log --oneline --format=\"%C(3)%h%Creset %<(60,trunc)%s%d %C(6)%ad%Creset\" --graph --date=relative but invoking that command has produced next log output (shortened for simplicity):


D:\mick\WebServer>git hist


As you can see, some commits have not been finished with newline - that is issue.

t-b commented 10 years ago

Can you make that part of the repository publically available? Can you trie git on linux to see if that is maybe an upstream bug? Does it only happen with non-ascii commit messages?

MichaelGr commented 10 years ago

Hello, Thomas

  1. My project has a private repo on BitBucket. I can provide you access via your BB-account or email.
  2. I have not tested the issue on linux, but I'm planning to do it soon. Also, I have tried that command in MinGW32 terminal - result is same as previous ;-(
  3. I can try with ascii commit tonight or tomorrow (but how I remember from previous projects it was ok)

With best wishes, Michael

2014-09-01 21:08 GMT+04:00 Thomas Braun notifications@github.com:

Can you make that part of the repository publically available? Can you trie git on linux to see if that is maybe an upstream bug? Does it only happen with non-ascii commit messages?

— Reply to this email directly or view it on GitHub https://github.com/msysgit/git/issues/240#issuecomment-54079478.

t-b commented 10 years ago

You can also have a try with Vagrant.

MichaelGr commented 10 years ago

Hello, Thomas

I have found the reason of my problems with git's log. You may be calm - the problem was not in the msysgit/git ;-) I have been using ConEmu (Windows console emulator) which changed output symbols of git log (apparently is not quite correct). When I had unchecked the ConEmu option "Change pseudographics font" the git's log became displayed properly.

Thank you for helping.

2014-09-03 1:06 GMT+04:00 Thomas Braun notifications@github.com:

You can also have a try with Vagrant https://github.com/msysgit/msysgit/wiki/Vagrant.

— Reply to this email directly or view it on GitHub https://github.com/msysgit/git/issues/240#issuecomment-54217667.

t-b commented 10 years ago

@MichaelGr sure.

Thanks for checking back here.