Unverified Commit 88ffc2f6 authored by Seamile's avatar Seamile Committed by GitHub
Browse files

fix(lib): mark changes as MODIFIED on 'MM' in `git_prompt_status` (#9552)

In the output of `git status -sb`, 'MM' indicates there are both added and modified changes.
This change marks that case as MODIFIED instead of ADDED.
parent 0f6aa018
......@@ -170,7 +170,7 @@ function git_prompt_status() {
'\?\? ' 'UNTRACKED'
'A ' 'ADDED'
'M ' 'ADDED'
'MM ' 'ADDED'
'MM ' 'MODIFIED'
' M ' 'MODIFIED'
'AM ' 'MODIFIED'
' T ' 'MODIFIED'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment