OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93f160
)
clear comment
author
Valera Sizov
<vsv2711@gmail.com>
Sat, 8 Oct 2011 22:30:11 +0000
(15:30 -0700)
committer
Valera Sizov
<vsv2711@gmail.com>
Sat, 8 Oct 2011 22:33:36 +0000
(15:33 -0700)
lib/gitosis.rb
patch
|
blob
|
history
diff --git
a/lib/gitosis.rb
b/lib/gitosis.rb
index
d099782
..
383a961
100644
(file)
--- a/
lib/gitosis.rb
+++ b/
lib/gitosis.rb
@@
-8,7
+8,6
@@
class Gitosis
Dir.mkdir @local_dir
- # clone repo
@repo = Git.clone(GITOSIS['admin_uri'], "#{@local_dir}/gitosis")
end
@@
-17,7
+16,6
@@
class Gitosis
@repo.commit_all "Gitlab"
@repo.push
- # remove local copy
`rm -Rf #{@local_dir}`
end