From d0a97241aa4fdc9b6fdbf4a0e205f2d6a7d22f9c Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sat, 30 Sep 2023 09:22:11 +0200 Subject: [PATCH] detail output color correction --- giti | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/giti b/giti index 17c600b..01ccd5d 100755 --- a/giti +++ b/giti @@ -92,7 +92,7 @@ if [[ ! $git_diff == "" ]]; then if [[ ! $PROMPT || "$GIT_PROMPT_DETAILS" == "on" ]]; then IFS=$'\n' for ENTRY in $git_diff; do - if [[ $ENTRY = "D "* ]] || [[ $ENTRY = "A "* ]] || [[ $ENTRY = "M "* ]] || [[ $ENTRY = "R "* ]]; then + if [[ $ENTRY = "D "* ]] || [[ $ENTRY = "A "* ]] || [[ $ENTRY = "M "* ]] || [[ $ENTRY = "MM"* ]] || [[ $ENTRY = "R "* ]]; then echo -e "$git_status_color│ $COLOR_DARKYELLOW$ENTRY" else echo -e "$git_status_color│ $COLOR_YELLOW$ENTRY"