add config

This commit is contained in:
Дементьев Евгений Владимирович 2015-04-12 23:13:16 +06:00
commit b596df106d

View file

@ -1033,7 +1033,11 @@ _git_checkout ()
if [ -n "$(__git_find_on_cmdline "$flags")" ]; then
track=''
fi
__gitcomp_nl "$(__git_refs_local '' $track)"
if [ -z ${GITFAST_CHECKOUT_LOCAL_ONLY+x} ]; then
__gitcomp_nl "$(__git_refs '' $track)"
else
__gitcomp_nl "$(__git_refs_local)"
fi
;;
esac
}