commit - 4cb9d869771dfcbb9e460e1f2924b289b34aff7c
commit + 87411fa9fa02ed103ef9b39edb8f2751155567c7
blob - 6db125a8a56dececb4b421750f0f92d3644f8601
blob + bdff5844ccda157277e95325887def00e1f69e73
--- tog/tog.c
+++ tog/tog.c
}
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;
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);
}
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;
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);
}