Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-10-03 17:52:30 +0300
committerJacob Vosmaer <jacob@gitlab.com>2018-10-03 17:52:30 +0300
commit8472b41423814a4c100b93e8cba6e6fe4e33950c (patch)
tree894c4e7892718d6148c7225c432bc408cdcb2a6f
parentb872d04529c46f431266f1b62d27fcdcd8a87c24 (diff)
readability
-rwxr-xr-xtest-dedup2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-dedup b/test-dedup
index c0154247d..553d05a00 100755
--- a/test-dedup
+++ b/test-dedup
@@ -120,7 +120,7 @@ def child_path(name)
end
def clone_in_pool(pool, source_path, target_name, target_path)
- run!(%W[git clone --quiet --bare --reference #{pool} #{source_path} #{target_path}])
+ run!(%W[git clone --quiet --bare --reference #{File.basename(pool)} #{File.basename(source_path)} #{File.basename(target_path)}], File.dirname(target_path))
clean_child(target_path)
add_child_to_pool(pool, target_name, target_path)
set_child_alternates(target_path, pool)