Commit decd3bd14e78423a5f4398c1706d6d6bc4d0d662

Stefan Sperling 2018-07-12T15:17:27

tweak header line in tog tree view

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tog/tog.c b/tog/tog.c
index d5ade28..4c0093a 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1823,7 +1823,7 @@ show_tree_view(struct got_tree_object *root, struct got_object_id *commit_id,
 	if (err != NULL)
 		goto done;
 
-	if (asprintf(&tree_label, "tree of commit %s", commit_id_str) == -1) {
+	if (asprintf(&tree_label, "commit: %s", commit_id_str) == -1) {
 		err = got_error_from_errno();
 		goto done;
 	}