commit d8355ef1a2864e1b142195cad3f7f3c0a7467998 from: Stefan Sperling date: Sun Feb 10 14:44:12 2019 UTC make 'tog tree' identify executable files commit - db0c2996dacea3880640c2f20651b6d7a16d30ec commit + d8355ef1a2864e1b142195cad3f7f3c0a7467998 blob - c0beece48da2a6168945e9fce0016478b90e2e87 blob + ba0eaebcee73e1d0bcd1045b6b68611e0492eaf9 --- tog/tog.c +++ tog/tog.c @@ -3029,7 +3029,8 @@ draw_tree_entries(struct tog_view *view, return got_error_from_errno(); } if (asprintf(&line, "%s %s%s", id_str ? id_str : "", - te->name, S_ISDIR(te->mode) ? "/" : "") == -1) { + te->name, S_ISDIR(te->mode) ? "/" : + ((te->mode & S_IXUSR) ? "*" : "")) == -1) { free(id_str); return got_error_from_errno(); }