Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
0222e774
Commit
0222e774
authored
Nov 19, 2014
by
Robby Russell
Browse files
Merge pull request #3333 from mcornella/fix-git-hide-dirty
Switch back to oh-my-zsh.hide-dirty setting again
parents
6a496d2c
a301f567
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/git.zsh
View file @
0222e774
...
...
@@ -13,7 +13,7 @@ parse_git_dirty() {
local
STATUS
=
''
local
FLAGS
FLAGS
=(
'--porcelain'
)
if
[[
"
$(
command
git config
--get
oh-my-zsh.hide-
status
)
"
!=
"1"
]]
;
then
if
[[
"
$(
command
git config
--get
oh-my-zsh.hide-
dirty
)
"
!=
"1"
]]
;
then
if
[[
$POST_1_7_2_GIT
-gt
0
]]
;
then
FLAGS+
=
'--ignore-submodules=dirty'
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment