我刚刚在我公司的 HP-UX 机器上将 git 更新到 1.8.4 版。现在我在终端上看到了虚假字符,例如在输入 git diff 时我得到:
$ git diff
1mdiff --git a/pg/wop/pgmwo.4gl b/pg/wop/pgmwo.4glmm
1mindex 0764c3b..f9f99a8 100644mm
1m--- a/pg/wop/pgmwo.4glmm
1m+++ b/pg/wop/pgmwo.4glmm
36m@@ -2194,8 +2194,9 @@m mRKH090805}mm
DELETE FROM woshortmm
WHERE line_recno = f_wodet_recnomm
ELSEmm
31m- UPDATE woshortmm
31m- SET qty_short = f_shortmm
32m+m32m UPDATE woshort SETmm
32m+m32m qty_short = f_short,mm
32m+m32m line_no = g_wodet_rec.linenomm
WHERE line_recno = f_wodet_recnomm
END IFmm
END IFmm
36m@@ -5521,8 +5522,9 @@m mDEFINE f_wodet_recno LIKE wodet.recno,mm
DELETE FROM woshortmm
WHERE line_recno = f_wodet_recnomm
ELSEmm
31m- UPDATE woshortmm
31m- SET qty_short = f_shortmm
当我回到 git 版本 1.8.3.4 时,这不会发生。我使用 depothelper 安装 git 及其依赖项。它看起来像颜色格式代码,但我们的终端都是单色的。
我们的服务器是 HP-UX B.11.31 U ia64 (tr)。我们通常使用带有 wy60 终端配置的 SmarTerm 连接到服务器。
我缺少什么配置?
编辑
我还在命令(例如git log
. 例如:
$ git log
commit ded5bfda75018bee84e3b81ca6f7a5f1dcf035cdm
Merge: 196862d 777b10dm
Author: Richard Holyoak <richard.holyoak@jjselectronics.com>m
Date: Mon Sep 30 13:51:49 2013 +0100m
m
Merge branch '9328'm
m
commit 777b10d09eb828e250283b74a22df52662d1897cm
Author: Richard Holyoak <richard.holyoak@jjselectronics.com>m
Date: Mon Sep 30 13:50:09 2013 +0100m
m
9328 pgmwo: V1-10-06 Updates to woshort ensure that the line number is also
m m
I don't think this is the root cause of the woshort line numberm
being out-of-step with the wodet line number but it will help.m
m
commit 196862de9817b6205263bbf7b14855db158feadem
Merge: 34d84af 07bf5b8m
Author: Richard Holyoak <richard.holyoak@jjselectronics.com>m
Date: Fri Sep 27 13:25:32 2013 +0100m
m
Merge branch '11420'm
m