kuzushi 0.0.39 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|