mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
optimize<Fetch>: do NOT raise error when fetch automatically in background
This commit is contained in:
parent
11420ee5b4
commit
8993f50944
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ namespace SourceGit.Commands {
|
|||
|
||||
public AutoFetch(string repo) {
|
||||
cmd = new Fetch(repo, "--all", true, null);
|
||||
cmd.DontRaiseError = true;
|
||||
|
||||
nextFetchPoint = DateTime.Now.AddMinutes(10).ToFileTime();
|
||||
timer = new Timer(OnTick, null, 60000, 10000);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue