whitespace
diff --git a/got/got.1 b/got/got.1
index c5b91e9..67a4ae3 100644
--- a/got/got.1
+++ b/got/got.1
@@ -418,7 +418,6 @@ If this directory is a
work tree, use the repository path associated with this work tree.
.It Fl l
List all existing branches in the repository.
-.Pp
If invoked in a work tree, the work tree's current branch is shown
with one the following annotations:
.Bl -column YXZ description
diff --git a/got/got.c b/got/got.c
index faa0693..3b09ad3 100644
--- a/got/got.c
+++ b/got/got.c
@@ -749,8 +749,7 @@ check_same_branch(struct got_object_id *commit_id,
if (err->code == GOT_ERR_ITER_COMPLETED) {
err = NULL;
break;
- }
- else if (err->code != GOT_ERR_ITER_NEED_MORE)
+ } else if (err->code != GOT_ERR_ITER_NEED_MORE)
break;
err = got_commit_graph_fetch_commits(graph, 1,
repo);