Skip to content

Commit

Permalink
Make background fetch more quiet
Browse files Browse the repository at this point in the history
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
  • Loading branch information
derrickstolee committed Jan 6, 2020
1 parent 87fe272 commit 84f38dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scalar.Common/Git/GitProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public Result BackgroundFetch(string remote)
// By using this refspec, we do not create local refs, but instead store them in the "hidden"
// namespace. These refs are never visible to the user (unless they open the .git/refs dir)
// but still allow us to run reachability questions like updating the commit-graph.
return this.InvokeGitInWorkingDirectoryRoot($"fetch {remote} --no-update-remote-refs +refs/heads/*:refs/{ScalarConstants.DotGit.Refs.Hidden.Name}/{remote}/*", fetchMissingObjects: true);
return this.InvokeGitInWorkingDirectoryRoot($"fetch {remote} --quiet --no-update-remote-refs +refs/heads/*:refs/{ScalarConstants.DotGit.Refs.Hidden.Name}/{remote}/*", fetchMissingObjects: true);
}

public string[] GetRemotes()
Expand Down

0 comments on commit 84f38dd

Please sign in to comment.