MCPcopy Create free account
hub / github.com/git-bug/git-bug / Pull

Function Pull

entities/bug/bug_actions.go:25–27  ·  view source on GitHub ↗

Pull will do a Fetch + MergeAll This function will return an error if a merge fail Note: an author is necessary for the case where a merge commit is created, as this commit will have an author and may be signed if a signing key is available.

(repo repository.ClockedRepo, resolvers entity.Resolvers, remote string, mergeAuthor identity.Interface)

Source from the content-addressed store, hash-verified

23// Note: an author is necessary for the case where a merge commit is created, as this commit will
24// have an author and may be signed if a signing key is available.
25func Pull(repo repository.ClockedRepo, resolvers entity.Resolvers, remote string, mergeAuthor identity.Interface) error {
26 return dag.Pull(def, wrapper, repo, resolvers, remote, mergeAuthor)
27}
28
29// MergeAll will merge all the available remote bug
30// Note: an author is necessary for the case where a merge commit is created, as this commit will

Callers

nothing calls this directly

Calls 1

PullFunction · 0.92

Tested by

no test coverage detected