1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

Fix badly resolved rebase conflict

This commit is contained in:
Marc Cornellà 2019-11-06 19:46:52 +01:00
parent 4a9cd68ea6
commit 1546e1226a

View file

@ -12,7 +12,7 @@ function git_prompt_info() {
function parse_git_dirty() {
local STATUS
local -a FLAGS
FLAGS=('--porcelain' '--ignore-submodules=dirty')
FLAGS=('--porcelain')
if [[ "$(command git config --get oh-my-zsh.hide-dirty)" != "1" ]]; then
if [[ "$DISABLE_UNTRACKED_FILES_DIRTY" == "true" ]]; then
FLAGS+='--untracked-files=no'