Bläddra i källkod

detail output color correction (revert)

master
Dirk Alders 1 år sedan
förälder
incheckning
7354bb9e3a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      giti

+ 1
- 1
giti Visa fil

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

Laddar…
Avbryt
Spara