瀏覽代碼

detail output color correction (revert)

master
Dirk Alders 1 年之前
父節點
當前提交
7354bb9e3a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      giti

+ 1
- 1
giti 查看文件

@@ -92,7 +92,7 @@ if [[ ! $git_diff == "" ]]; then
92 92
   if [[ ! $PROMPT || "$GIT_PROMPT_DETAILS" == "on" ]]; then
93 93
     IFS=$'\n'
94 94
     for ENTRY in $git_diff; do 
95
-      if [[ $ENTRY = "D "* ]] || [[ $ENTRY = "A "* ]] || [[ $ENTRY = "M "* ]] || [[ $ENTRY = "MM"* ]] || [[ $ENTRY = "R "* ]]; then
95
+      if [[ $ENTRY = "D "* ]] || [[ $ENTRY = "A "* ]] || [[ $ENTRY = "M "* ]] || [[ $ENTRY = "R "* ]]; then
96 96
         echo -e "$git_status_color│ $COLOR_DARKYELLOW$ENTRY"
97 97
       else
98 98
         echo -e "$git_status_color│ $COLOR_YELLOW$ENTRY"

Loading…
取消
儲存