git diff encoding issue when running via Hyper-V

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


Hi, 
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:
ESC[31m-setup_dirs()ESC[m
ESC[32m+ESC[mESC[32msetup_dirs2()ESC[m
instead of:
-setup_dirs()+setup_dirs2()
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