Commit 87411fa9fa02ed103ef9b39edb8f2751155567c7

Stefan Sperling 2022-06-16T18:24:53

wrap overlong lines in tog.c

diff --git a/tog/tog.c b/tog/tog.c
index 6db125a..bdff584 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1802,8 +1802,8 @@ draw_commits(struct tog_view *view)
 	}
 
 	if (s->in_repo_path && strcmp(s->in_repo_path, "/") != 0) {
-		if (asprintf(&header, "commit %s %s%s",
-		    id_str ? id_str : "........................................",
+		if (asprintf(&header, "commit %s %s%s", id_str ? id_str :
+		    "........................................",
 		    s->in_repo_path, ncommits_str) == -1) {
 			err = got_error_from_errno("asprintf");
 			header = NULL;
@@ -4258,7 +4258,8 @@ __dead static void
 usage_blame(void)
 {
 	endwin();
-	fprintf(stderr, "usage: %s blame [-c commit] [-r repository-path] path\n",
+	fprintf(stderr,
+	    "usage: %s blame [-c commit] [-r repository-path] path\n",
 	    getprogname());
 	exit(1);
 }
@@ -4366,7 +4367,8 @@ draw_blame(struct tog_view *view)
 				waddstr(view->window, "        ");
 			} else if (blame_line->annotated) {
 				char *id_str;
-				err = got_object_id_str(&id_str, blame_line->id);
+				err = got_object_id_str(&id_str,
+				    blame_line->id);
 				if (err) {
 					free(line);
 					return err;
@@ -6020,7 +6022,8 @@ __dead static void
 usage_tree(void)
 {
 	endwin();
-	fprintf(stderr, "usage: %s tree [-c commit] [-r repository-path] [path]\n",
+	fprintf(stderr,
+	    "usage: %s tree [-c commit] [-r repository-path] [path]\n",
 	    getprogname());
 	exit(1);
 }