You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted by @linquizehere, the call to "ls-remote" in the PullNotes method is redundant; it follows a fetch of the remote refs, so they can just be listed locally instead of calling out to the remote repo again.
The text was updated successfully, but these errors were encountered:
Previously, we treated some errors as fatal if they were unrecoverable, and
used log.Fatal(...) to kill the program.
That old behavior was desirable when the code was simply being used by the
command-line tool, as it allowed us to catch unexpected errors very easily.
However, now that this code is being reused as a library, we should let the
caller decide how to treat unrecoverable errors.
As noted by @linquize here, the call to "ls-remote" in the PullNotes method is redundant; it follows a fetch of the remote refs, so they can just be listed locally instead of calling out to the remote repo again.
The text was updated successfully, but these errors were encountered: