[PATCH v2] gpg-interface: strip CR chars for Windows gpg2

2017-11-12 Thread Jerzy Kozera
This fixes the issue with newlines being \r\n and not being displayed correctly when using gpg2 for Windows, as reported at https://github.com/git-for-windows/git/issues/1249 Issues with non-ASCII characters remain for further investigation. Signed-off-by: Jerzy Kozera --- Addressed comments

[PATCH] gpg-interface: Strip CR chars for Windows gpg2

2017-11-11 Thread Jerzy Kozera
This fixes the issue with newlines reported at https://github.com/git-for-windows/git/issues/1249 Issues with non-ASCII characters remain for further investigation. Signed-off-by: Jerzy Kozera --- The patch applies cleanly on top of maint as well as master. gpg-interface.c | 25