git function to determine if git is dirty

This commit is contained in:
Bruno Pinto 2012-07-23 10:59:10 -03:00
parent 1c6a7f8de3
commit 768a420582

View File

@ -0,0 +1,3 @@
function is_git_dirty
echo (git status -s --ignore-submodules=dirty ^/dev/null)
end