Why does git diff on Windows warn that the "terminal is not fully functional"?

Portaljacker picture Portaljacker · Oct 31, 2011 · Viewed 28.3k times · Source

I'm using msysgit 1.7.7.1 on Windows. I get an error when using git diff. What is causing this? Is there no diff tool included in msysgit? What should I do?

WARNING: terminal is not fully functional

Answer

teleball picture teleball · Jun 11, 2012

If you are having issues in cmd.exe, for instance, see the warning here:

CMD.EXE without the TERM set correctly

Then simply set your environment variables and include TERM=msys. After that, each time you open a cmd.exe, your variable will be set correctly.

How to set your TERM environment variable

NOW YOU MUST RESTART YOUR SHELL (CMD.EXE). Just run a new one. And from there, you should have no more issues. Again:

CMD.EXE with the correct TERM set