Pārlūkot izejas kodu

detail output color correction (revert)

master
Dirk Alders 1 gadu atpakaļ
vecāks
revīzija
7354bb9e3a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      giti

+ 1
- 1
giti Parādīt failu

@@ -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"

Notiek ielāde…
Atcelt
Saglabāt