Browse Source

detail output color correction (revert)

master
Dirk Alders 1 year ago
parent
commit
7354bb9e3a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      giti

+ 1
- 1
giti View File

92
   if [[ ! $PROMPT || "$GIT_PROMPT_DETAILS" == "on" ]]; then
92
   if [[ ! $PROMPT || "$GIT_PROMPT_DETAILS" == "on" ]]; then
93
     IFS=$'\n'
93
     IFS=$'\n'
94
     for ENTRY in $git_diff; do 
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
         echo -e "$git_status_color│ $COLOR_DARKYELLOW$ENTRY"
96
         echo -e "$git_status_color│ $COLOR_DARKYELLOW$ENTRY"
97
       else
97
       else
98
         echo -e "$git_status_color│ $COLOR_YELLOW$ENTRY"
98
         echo -e "$git_status_color│ $COLOR_YELLOW$ENTRY"

Loading…
Cancel
Save