From 72d64744643ba817ef79e07418d8b9afe5620f67 Mon Sep 17 00:00:00 2001 From: "Ben J. Ward" Date: Thu, 20 Jul 2017 14:31:49 +0100 Subject: [PATCH] [RTR]: Update get_fmt_specimens method (#6) * Update get_fmt_specimens method * Added git fetch origin and removed clone --depth 1 --- src/Testing.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Testing.jl b/src/Testing.jl index ea7cc76..f74bd9b 100644 --- a/src/Testing.jl +++ b/src/Testing.jl @@ -8,12 +8,13 @@ module Testing -function get_bio_fmt_specimens(commit="3140ef6110bb309703ffde564ce705eeb80607d4") +function get_bio_fmt_specimens(commit="222f58c8ef3e3480f26515d99d3784b8cfcca046") path = joinpath(dirname(dirname(@__FILE__)), "BioFmtSpecimens") if !isdir(path) - run(`git clone --depth 1 https://github.com/BioJulia/BioFmtSpecimens.git $(path)`) + run(`git clone https://github.com/BioJulia/BioFmtSpecimens.git $(path)`) end cd(path) do + run(`git fetch origin`) run(`git checkout $(commit)`) end return path