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
e3ee7bd1
Commit
e3ee7bd1
authored
Nov 26, 2011
by
Richard Hartmann
Browse files
Options
Downloads
Patches
Plain Diff
Remove old cleanup code for `vcsh use`
parent
9a079178
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
vcsh
+0
-4
0 additions, 4 deletions
vcsh
with
0 additions
and
4 deletions
vcsh
+
0
−
4
View file @
e3ee7bd1
...
@@ -126,9 +126,6 @@ run() {
...
@@ -126,9 +126,6 @@ run() {
seed_gitignore
()
{
seed_gitignore
()
{
use
use
# Switching directory as this has to be executed from $HOME to be of any use.
# Going back into old directory at the end in case `vcsh use` is reactivated.
old_dir
=
"
$PWD
"
cd
"
$HOME
"
cd
"
$HOME
"
gitignores
=
$(
for
file
in
$(
git ls-files
)
;
do
gitignores
=
$(
for
file
in
$(
git ls-files
)
;
do
while
true
;
do
while
true
;
do
...
@@ -153,7 +150,6 @@ seed_gitignore() {
...
@@ -153,7 +150,6 @@ seed_gitignore() {
fi
fi
mv
-f
"
$tempfile
"
"
$HOME
/.gitignore.d/
$VCSH_REPO_NAME
"
||
mv
-f
"
$tempfile
"
"
$HOME
/.gitignore.d/
$VCSH_REPO_NAME
"
||
fatal
"could not move '
$tempfile
' to '
$HOME
/.gitignore.d/
$VCSH_REPO_NAME
'"
53
fatal
"could not move '
$tempfile
' to '
$HOME
/.gitignore.d/
$VCSH_REPO_NAME
'"
53
cd
"
$old_dir
"
}
}
setup
()
{
setup
()
{
...
...
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