#git update-index --really-refresh -q &>/dev/null
# check for unstaged changes
- if [ -n "$(git ls-files --modified)" ]; then
+ if [ -n "$(git ls-files --modified :/)" ]; then
s="$s*";
fi
fi
# check for untracked files
- if [ -n "$(git ls-files --others --exclude-standard)" ]; then
+ if [ -n "$(git ls-files --others --exclude-standard :/)" ]; then
s="$s%";
fi