commit d6e648b413318b329500ebc789b4615513a9833a from: Stefan Sperling date: Sun Feb 10 14:32:19 2019 UTC make 'got tree' identify executable files commit - b8f41171ce82965347395dd4b1fc47a649caf0fc commit + d6e648b413318b329500ebc789b4615513a9833a blob - 755f467c2aa1a389cc6240409b367803b91565a5 blob + a2d01e119868c295646591eff531e132430af603 --- got/got.c +++ got/got.c @@ -1304,8 +1304,8 @@ print_entry(struct got_tree_entry *te, const char *id, path++; printf("%s%s%s%s%s\n", id ? id : "", path, - is_root_path ? "" : "/", - te->name, S_ISDIR(te->mode) ? "/" : ""); + is_root_path ? "" : "/", te->name, + S_ISDIR(te->mode) ? "/" : ((te->mode & S_IXUSR) ? "*" : "")); } static const struct got_error *