Commit 819818ad740921c76e551dd602f9d0b59097fff4
1 parent
e93f1603
Exists in
master
and in
4 other branches
clear comment
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
lib/gitosis.rb
| @@ -8,7 +8,6 @@ class Gitosis | @@ -8,7 +8,6 @@ class Gitosis | ||
| 8 | 8 | ||
| 9 | Dir.mkdir @local_dir | 9 | Dir.mkdir @local_dir |
| 10 | 10 | ||
| 11 | - # clone repo | ||
| 12 | @repo = Git.clone(GITOSIS['admin_uri'], "#{@local_dir}/gitosis") | 11 | @repo = Git.clone(GITOSIS['admin_uri'], "#{@local_dir}/gitosis") |
| 13 | end | 12 | end |
| 14 | 13 | ||
| @@ -17,7 +16,6 @@ class Gitosis | @@ -17,7 +16,6 @@ class Gitosis | ||
| 17 | @repo.commit_all "Gitlab" | 16 | @repo.commit_all "Gitlab" |
| 18 | @repo.push | 17 | @repo.push |
| 19 | 18 | ||
| 20 | - # remove local copy | ||
| 21 | `rm -Rf #{@local_dir}` | 19 | `rm -Rf #{@local_dir}` |
| 22 | end | 20 | end |
| 23 | 21 |