git-fastclone 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of git-fastclone might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/git-fastclone.rb +3 -1
- data/lib/git-fastclone/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af007992f8a6ef27abd4584902f9ac91b6d6e604
|
4
|
+
data.tar.gz: 8a24f9130efc548d102b738c74b79c5b8423aac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5ebd3ea56f26a3d61f0e87f34abe75d7a12d1a432e2272ece8ea1a218538a66c6e16e5ed2cd357d114f4f5834c0ecb8b6a50813093aefde02f904a053b8eb03
|
7
|
+
data.tar.gz: 5b1b8a89eb16aa4f5cabc90af8462c8653261ae6fb9e5e1c7fa88c888f9b76eab4a5863fa1e76f2af3e8ff644bc019b63e20d05dc2d9579d46826c00e814bff0
|
data/lib/git-fastclone.rb
CHANGED
@@ -125,7 +125,9 @@ module GitFastClone
|
|
125
125
|
|
126
126
|
path = ARGV[1] || path_from_git_url(url)
|
127
127
|
|
128
|
-
|
128
|
+
if Dir.exist?(path)
|
129
|
+
fail "Clone destination #{File.join(abs_clone_path, path)} already exists!"
|
130
|
+
end
|
129
131
|
|
130
132
|
self.reference_dir = ENV['REFERENCE_REPO_DIR'] || DEFAULT_REFERENCE_REPO_DIR
|
131
133
|
FileUtils.mkdir_p(reference_dir)
|