Skip to content
Snippets Groups Projects
Commit 1879e5fa authored by Roland Hopferwieser's avatar Roland Hopferwieser
Browse files

Merge remote-tracking branch 'upstream/master'

parents 273818ae f7f3bce0
Branches
Tags
No related merge requests found
...@@ -24,7 +24,7 @@ function _vcsh-enter () { ...@@ -24,7 +24,7 @@ function _vcsh-enter () {
} }
function _vcsh-foreach () { function _vcsh-foreach () {
_dispatch git git _dispatch vcsh-foreach git
} }
function _vcsh-help () { function _vcsh-help () {
...@@ -138,10 +138,11 @@ function _vcsh () { ...@@ -138,10 +138,11 @@ function _vcsh () {
if ! (( ${+functions[_vcsh-$vcshcommand]} )); then if ! (( ${+functions[_vcsh-$vcshcommand]} )); then
# There is no handler function, so this is probably the name # There is no handler function, so this is probably the name
# of a repository. Act accordingly. # 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 GIT_DIR=$VCSH_REPO_D/$words[1].git _dispatch git git
else else
curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:" curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:"
_call_function ret _vcsh-${vcshcommand} _call_function ret _vcsh-${vcshcommand} && (( ret ))
fi fi
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment