Commit 1879e5fa authored by Roland Hopferwieser's avatar Roland Hopferwieser
Browse files

Merge remote-tracking branch 'upstream/master'

parents 273818ae f7f3bce0
......@@ -24,7 +24,7 @@ function _vcsh-enter () {
}
function _vcsh-foreach () {
_dispatch git git
_dispatch vcsh-foreach git
}
function _vcsh-help () {
......@@ -138,10 +138,11 @@ function _vcsh () {
if ! (( ${+functions[_vcsh-$vcshcommand]} )); then
# There is no handler function, so this is probably the name
# of a repository. Act accordingly.
# FIXME: this may want to use '_dispatch vcsh git'
GIT_DIR=$VCSH_REPO_D/$words[1].git _dispatch git git
else
curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:"
_call_function ret _vcsh-${vcshcommand}
_call_function ret _vcsh-${vcshcommand} && (( ret ))
fi
fi
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment