Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
vcsh
Commits
1879e5fa
Commit
1879e5fa
authored
Aug 27, 2017
by
Roland Hopferwieser
Browse files
Merge remote-tracking branch 'upstream/master'
parents
273818ae
f7f3bce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
_vcsh
View file @
1879e5fa
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment