Skip to content

Commit 53fdc7e

Browse files
committed
git-wrapper: remove redundant TERM initialization
Remove redundant TERM initialization from git-wrapper in favor of TERM initialization in git itself. Signed-off-by: Karsten Blees <[email protected]>
1 parent 709cf13 commit 53fdc7e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compat/win32/git-wrapper.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ static void setup_environment(LPWSTR exepath, int full_path)
4848
L"MINGW%d", (int) sizeof(void *) * 8);
4949
SetEnvironmentVariable(L"MSYSTEM", msystem);
5050

51-
/* if not set, set TERM to cygwin */
52-
if (!GetEnvironmentVariable(L"TERM", NULL, 0))
53-
SetEnvironmentVariable(L"TERM", L"cygwin");
54-
5551
/* if not set, set PLINK_PROTOCOL to ssh */
5652
if (!GetEnvironmentVariable(L"PLINK_PROTOCOL", NULL, 0))
5753
SetEnvironmentVariable(L"PLINK_PROTOCOL", L"ssh");

0 commit comments

Comments
 (0)