From 3ff8fe30e6f36308fba089e11f5df53b0855ba76 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Tue, 23 Sep 2014 12:33:09 +0200 Subject: [PATCH] Remove extra git describe on Rake shell install. --- lib/tasks/gitlab/shell.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/gitlab/shell.rake b/lib/tasks/gitlab/shell.rake index a8f26a7c029..ab09dd1a959 100644 --- a/lib/tasks/gitlab/shell.rake +++ b/lib/tasks/gitlab/shell.rake @@ -24,7 +24,7 @@ namespace :gitlab do Dir.chdir(target_dir) do # First try to checkout without fetching # to avoid stalling tests if the Internet is down. - reset = "git reset --hard $(git describe #{args.tag} || git describe origin/#{args.tag})" + reset = "git reset --hard $(git describe #{args.tag})" sh "#{reset} || git fetch origin && #{reset}" config = { -- GitLab