Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

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

Closed
MichaelGr opened this issue Sep 1, 2014 · 5 comments

Comments

@MichaelGr
Copy link

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

  • 291c9fc Обновлен шаблон каталога магазина (не до конца) (HEAD, origin/m* 42a9d33 Модифицированы доп.свойства товаров в магазине Начато реда.. 13* b6039ff Исправлено отображение картинки псевдо "слайдера" на главн.. 18 * 058ed66 Merge branch 'magazin' of bitbucket.org:myart/chest-t.. 3 days ago
    |
    | * bba22d0 У сайта теперь основной домен - что необходимо д.. 3 days ago
  • | ccef076 У сайта теперь основной домен - что необходимо д.. 3 days ago
    |/
  • 769880d Добавлен .gitignore в www/tmp/ 3 days ago
  • 8196e54 Добавлен тестовый магазин для тестирования импорта товаров.. 4* 7abf3c0 Добавлены доп.свойства кондукторов (кроме "Метка") 4 days ago
  • ec56174 Добавлены типовые динам. стр. на /shop, /shop/cart Начато .. 5 days ago

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

@t-b
Copy link

t-b commented Sep 1, 2014

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
Copy link
Author

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
#240 (comment).

@t-b
Copy link

t-b commented Sep 2, 2014

You can also have a try with Vagrant.

@MichaelGr
Copy link
Author

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
#240 (comment).

@t-b
Copy link

t-b commented Sep 12, 2014

@MichaelGr sure.

Thanks for checking back here.

@t-b t-b closed this as completed Sep 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants