mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
mention to git_compare_version
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
This commit is contained in:
parent
0fd9d277f9
commit
52982e3f63
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
function +vi-git-untracked() {
|
||||
local FLAGS
|
||||
FLAGS=('--porcelain')
|
||||
# TODO: check git >= 1.7.2
|
||||
# TODO: check git >= 1.7.2 - see function git_compare_version()
|
||||
FLAGS+='--ignore-submodules=dirty'
|
||||
if [[ $(git rev-parse --is-inside-work-tree 2> /dev/null) == 'true' && \
|
||||
-n $(git status ${FLAGS} | grep '^??' 2> /dev/null | tail -n1) ]]; then
|
||||
|
|
Loading…
Reference in a new issue