forked from lix-project/hydra
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:
parent
b49e138e9c
commit
7da48b5220
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ sub fetchInputGit {
|
||||||
# local branch for each heads of the remote repository. This is
|
# local branch for each heads of the remote repository. This is
|
||||||
# necessary to provide a working git-describe.
|
# necessary to provide a working git-describe.
|
||||||
($res, $stdout, $stderr) = captureStdoutStderr(600,
|
($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;
|
die "Error pulling latest change from git repo at `$uri':\n$stderr" unless $res;
|
||||||
} else {
|
} else {
|
||||||
# This command force the update of the local branch to be in the same as
|
# This command force the update of the local branch to be in the same as
|
||||||
|
|
Loading…
Reference in a new issue