Skip to content

Commit

Permalink
fixup! Better no-op handling
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanbanken committed Apr 20, 2021
1 parent c88bbb0 commit 2783727
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/sync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ func Main() {
Auth: gitAuth,
Progress: prefixw.New(os.Stderr, "> "),
})
if err == git.NoErrAlreadyUpToDate {
err = nil
}
orFatal(err, "pushing")
c, _, err = client.Repositories.GetCommit(ctx, orgName, repoName, obj.Hash.String())
orFatal(err, "getting custom merge commit")
Expand Down

0 comments on commit 2783727

Please sign in to comment.