Commit 12a0b23b546f02a5db93092d222e05a458decef4

Stefan Sperling 2018-07-12T21:31:08

tweak tog blame progress indicator

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tog/tog.c b/tog/tog.c
index a6da1a5..9e3a9cb 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1126,7 +1126,7 @@ draw_blame(WINDOW *window, struct got_object_id *id, FILE *f, const char *path,
 
 	if (asprintf(&line, "[%d/%d] %s%s",
 	    *first_displayed_line - 1 + selected_line, nlines,
-	    path, blame_complete ? "" : " annotating...") == -1) {
+	    blame_complete ? "" : "annotating ", path) == -1) {
 		free(id_str);
 		return got_error_from_errno();
 	}