Default the TERM environment variable suitable for use with less.
commit4d0911dceccf1524a2d6aeb15bc25d9cdb1eb75d
authorTheo Niessink <niessink@martinic.com>
Wed, 11 Apr 2012 18:33:55 +0000 (11 19:33 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 11 Apr 2012 18:34:57 +0000 (11 19:34 +0100)
tree7553b30528192a1b8a4dff7a83e4286848e66fec
parenteb87085054fb72de40189e374fae5e5a987efe3e
Default the TERM environment variable suitable for use with less.

By default on windows the TERM environment variable is configured as
'winansi' in git unless previously set. This is not accepted by the default
pager (less) which produces an error message:
 "WARNING: terminal is not fully functional"
Under git-bash TERM is configured by the shell as cygwin which less accepts
and here we configure it as "msys" which also is acceptable to less.

Signed-off-by: Theo Niessink <niessink@martinic.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
cmd/git.cmd