git diff encoding issue when running via Hyper-V

Dangling Pointer danglingpointer at
Wed Sep 30 14:32:43 UTC 2015

When I run FreeBSD 10.1 or 10.2 x64 via Hyper-V on Windows 10, the encoding of `git diff` command emits cluttered text (with lots of "ESC[m" noise) like:
instead of:
I don't know what to make of it. I get this behavior in Hyper-V console running FreeBSD's csh and bash as well as when I SSH into the VM.
FWIW, I have never observed this issue with CentOS and Ubuntu VM running on the system.
Can somebody please let me know if this is a bug or do I need to configure something?

More information about the freebsd-questions mailing list