aboutsummaryrefslogtreecommitdiff
path: root/functions/vcs.zsh
diff options
context:
space:
mode:
authorSebastien Varrette <Sebastien.Varrette@uni.lu>2016-02-09 16:22:47 +0300
committerSebastien Varrette <Sebastien.Varrette@uni.lu>2016-02-09 16:22:47 +0300
commit52982e3f63133b528714e65e35b4a44d438ef1ce (patch)
tree102280109d609c4ac4cc41fe642613b6e0274145 /functions/vcs.zsh
parent0fd9d277f93bf45acf6ab0dc280666458c58bd74 (diff)
mention to git_compare_version
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
Diffstat (limited to 'functions/vcs.zsh')
-rw-r--r--functions/vcs.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh
index c2c94022..3eec5dfd 100644
--- a/functions/vcs.zsh
+++ b/functions/vcs.zsh
@@ -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