commit - 923086fdfc886d17bc06195d87e3fd344c1f0474
commit + 9119855459d45307656bf70c7302295c55be7bae
blob - 2ab36ac746be3a0f185c5eb2100d91298efc0f1b
blob + 20e01321ddfead610c8c28799fe3581e079feed6
--- 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);
}