kuzushi 0.0.39 → 0.0.40
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/kuzushi.rb +3 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.40
|
data/lib/kuzushi.rb
CHANGED
@@ -323,9 +323,9 @@ class Kuzushi
|
|
323
323
|
FileUtils.mkdir_p(f.file)
|
324
324
|
shell "cd #{f.file} && git init"
|
325
325
|
shell "cd #{f.file} && git remote add origin #{f.git}"
|
326
|
-
shell "cd #{f.file} && git fetch"
|
327
|
-
shell "cd #{f.file} && git checkout master"
|
328
|
-
shell "chown -R #{f.user}:#{f.group} #{f.
|
326
|
+
shell "cd #{f.file} && git fetch origin"
|
327
|
+
shell "cd #{f.file} && git checkout -b master --track origin/master"
|
328
|
+
shell "chown -R #{f.user}:#{f.group} #{f.file}" if f.user || f.group ## is this needed? handled above in files?
|
329
329
|
end
|
330
330
|
end
|
331
331
|
|