remove origin from git pull call, to get rid of fatal: fetch --all does not take a repository argument error

This commit is contained in:
Rob Vermaas 2012-04-25 10:17:22 +02:00
parent b49e138e9c
commit 7da48b5220

View file

@ -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