diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-10-03 17:52:30 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-10-03 17:52:30 +0300 |
commit | 8472b41423814a4c100b93e8cba6e6fe4e33950c (patch) | |
tree | 894c4e7892718d6148c7225c432bc408cdcb2a6f | |
parent | b872d04529c46f431266f1b62d27fcdcd8a87c24 (diff) |
readability
-rwxr-xr-x | test-dedup | 2 |
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) |