Compare commits
2 Commits
787046cd73
...
aab95d22c9
Author | SHA1 | Date | |
---|---|---|---|
aab95d22c9 | |||
fe6e3d0c8a |
@ -145,7 +145,7 @@ function gitinfo_get_stashes()
|
|||||||
######################################################################
|
######################################################################
|
||||||
function gitinfo_get_untracked()
|
function gitinfo_get_untracked()
|
||||||
{
|
{
|
||||||
GITINFO_UNTRACKED_COUNT=`LC_ALL=C git status | grep -v "be\ committed\|On\ branch\|nothing\ added\|Untracked\ files\|git\ add\|Your\ branch\|new\ file\|git\ reset\|nothing\ to\ commit\|not\ staged\|git\ checkout\|modified\:" | sed '/^$/d' | wc -l | sed "s/ //g"`
|
GITINFO_UNTRACKED_COUNT=`LC_ALL=C git status | grep -v "be committed|On branch|nothing added|Untracked files|git add|Your branch|new file|git reset|nothing to commit|not staged|git checkout|modified:" | sed '/^$/d' | wc -l | sed "s/ //g"`
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user