Commit Diff


commit - 59d52b885b1715d5c3646ef027b4e571968b3771
commit + a14c42fa1f4c86f703b4e1083d9c50b06e2d478a
blob - c5b91e9f98ec8887a63816a10bcd5633bd3ee3bc
blob + 67a4ae3bca83bb5ef8562ec30dfac523a4c581b3
--- got/got.1
+++ 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
blob - faa0693fcb3ae7d587e6a155851517362225d162
blob + 3b09ad3990979150a08ba246a0bc52ef97216959
--- got/got.c
+++ 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);