From 7da48b52208aad81781faa32689dcdddada714aa Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 25 Apr 2012 10:17:22 +0200 Subject: [PATCH] remove origin from git pull call, to get rid of fatal: fetch --all does not take a repository argument error --- src/lib/Hydra/Helper/AddBuilds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index 5efa6f20..3a81cb5f 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -341,7 +341,7 @@ sub fetchInputGit { # local branch for each heads of the remote repository. This is # necessary to provide a working git-describe. ($res, $stdout, $stderr) = captureStdoutStderr(600, - ("git", "pull", "--ff-only", "-fu", "--all", "origin")); + ("git", "pull", "--ff-only", "-fu", "--all")); die "Error pulling latest change from git repo at `$uri':\n$stderr" unless $res; } else { # This command force the update of the local branch to be in the same as