Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
vcsh
Commits
33de26d2
Commit
33de26d2
authored
Feb 10, 2012
by
Richard Hartmann
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of github.com:RichiH/vcsh
parents
80ebb8dc
a9e401b2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
doc/vcsh.1.ronn
+1
-1
1 addition, 1 deletion
doc/vcsh.1.ronn
vcsh
+8
-8
8 additions, 8 deletions
vcsh
with
11 additions
and
9 deletions
README.md
+
2
−
0
View file @
33de26d2
...
@@ -130,6 +130,8 @@ this:
...
@@ -130,6 +130,8 @@ this:
[DEFAULT]
[DEFAULT]
jobs = 5
jobs = 5
# Use if your mr does not have vcsh support in mainline, yet
include = cat /usr/share/mr/vcsh
include = cat ${XDG_CONFIG_HOME:-$HOME/.config}/mr/config.d/*
include = cat ${XDG_CONFIG_HOME:-$HOME/.config}/mr/config.d/*
### repo.d ###
### repo.d ###
...
...
This diff is collapsed.
Click to expand it.
doc/vcsh.1.ronn
+
1
−
1
View file @
33de26d2
...
@@ -102,7 +102,7 @@ an interactive user.
...
@@ -102,7 +102,7 @@ an interactive user.
Write .gitignore.d/<repo> via git ls-files.
Write .gitignore.d/<repo> via git ls-files.
* <repo> <gitcommand>:
* <repo> <gitcommand>:
Shortcut to run `vcsh` on a repo. Will prepend `git` to <command>
by itself
.
Shortcut to run `vcsh` on a repo. Will prepend `git` to <command>.
* <repo>:
* <repo>:
Shortcut to run `vcsh enter <repo>`.
Shortcut to run `vcsh enter <repo>`.
...
...
This diff is collapsed.
Click to expand it.
vcsh
+
8
−
8
View file @
33de26d2
...
@@ -219,7 +219,7 @@ if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive'
...
@@ -219,7 +219,7 @@ if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive'
fi
fi
if
[
"
$1
"
=
'clone'
]
;
then
if
[
"
$1
"
=
'clone'
]
;
then
[
-z
$2
]
&&
fatal
"
$1
: please specify a remote"
1
[
-z
"
$2
"
]
&&
fatal
"
$1
: please specify a remote"
1
export
VCSH_COMMAND
=
"
$1
"
export
VCSH_COMMAND
=
"
$1
"
GIT_REMOTE
=
"
$2
"
GIT_REMOTE
=
"
$2
"
[
-n
"
$3
"
]
&&
VCSH_REPO_NAME
=
"
$3
"
||
VCSH_REPO_NAME
=
$(
basename
"
$GIT_REMOTE
"
.git
)
[
-n
"
$3
"
]
&&
VCSH_REPO_NAME
=
"
$3
"
||
VCSH_REPO_NAME
=
$(
basename
"
$GIT_REMOTE
"
.git
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment