commit - 8524ff9ab344067cc8f03b4f2ac9f4e66ce5a9bd
commit + c1124f1898d1ef367003a3555a75292c91d3dace
blob - 6a04b868b4675383fd4f507ceb3a508861fd43e7
blob + e6c12b6914a3e45988975730c905d96a0b10cd33
--- tog/tog.c
+++ tog/tog.c
return got_error_from_errno();
if (path && strcmp(path, "/") != 0) {
- if (asprintf(&header, "commit: %s %s%s",
+ if (asprintf(&header, "commit %s %s%s",
id_str ? id_str : "........................................",
path, ncommits_str) == -1) {
err = got_error_from_errno();
header = NULL;
goto done;
}
- } else if (asprintf(&header, "commit: %s%s",
+ } else if (asprintf(&header, "commit %s%s",
id_str ? id_str : "........................................",
ncommits_str) == -1) {
err = got_error_from_errno();
goto done;
}
- if (fprintf(outfile, "commit: %s\n", id_str) < 0) {
+ if (fprintf(outfile, "commit %s\n", id_str) < 0) {
err = got_error_from_errno();
goto done;
}
rewind(f);
werase(view->window);
- if (asprintf(&line, "commit: %s", id_str) == -1) {
+ if (asprintf(&line, "commit %s", id_str) == -1) {
err = got_error_from_errno();
free(id_str);
return err;
if (err != NULL)
goto done;
- if (asprintf(&s->tree_label, "commit: %s", commit_id_str) == -1) {
+ if (asprintf(&s->tree_label, "commit %s", commit_id_str) == -1) {
err = got_error_from_errno();
goto done;
}