commit c3ba6f369e4a9a5bad18b8199d233947d9739cbe from: Stefan Sperling date: Wed Aug 01 12:49:57 2018 UTC don't show the root path in tog log view header commit - cdf1ee82f4524f73c8d1a68c387db2b1553ca899 commit + c3ba6f369e4a9a5bad18b8199d233947d9739cbe blob - 8777bbbc75b2b3fa5035abb7ca0ae962980708e5 blob + da22851072b220214f9be1970f360fb5c1f4a895 --- tog/tog.c +++ tog/tog.c @@ -620,7 +620,7 @@ draw_commits(struct tog_view *view, struct commit_queu if (err) return err; - if (path) { + if (path && strcmp(path, "/") != 0) { if (asprintf(&header, "commit: %s [%s]", id_str, path) == -1) { err = got_error_from_errno(); free(id_str);