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
Oh My Zsh
Commits
7cdb6d66
Commit
7cdb6d66
authored
Apr 23, 2013
by
Robby Russell
Browse files
Resolving conflict when merging in 1570
parents
d6a36b17
9245a308
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/git.zsh
View file @
7cdb6d66
...
@@ -20,7 +20,7 @@ parse_git_dirty() {
...
@@ -20,7 +20,7 @@ parse_git_dirty() {
else
else
GIT_STATUS
=
$(
git status
-s
${
SUBMODULE_SYNTAX
}
-uno
2> /dev/null |
tail
-n1
)
GIT_STATUS
=
$(
git status
-s
${
SUBMODULE_SYNTAX
}
-uno
2> /dev/null |
tail
-n1
)
fi
fi
if
[[
-n
$
GIT_STATUS
&&
"
$GIT_STATUS
"
!=
"
$CLEAN_MESSAGE
"
]]
;
then
if
[[
-n
$
(
git status
-s
${
SUBMODULE_SYNTAX
}
-uno
2> /dev/null
)
]]
;
then
echo
"
$ZSH_THEME_GIT_PROMPT_DIRTY
"
echo
"
$ZSH_THEME_GIT_PROMPT_DIRTY
"
else
else
echo
"
$ZSH_THEME_GIT_PROMPT_CLEAN
"
echo
"
$ZSH_THEME_GIT_PROMPT_CLEAN
"
...
...
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