commit - 0a9483d0af324e2f67bb3af427577a35fb7ed401
commit + 562386c58b14079697d80948b00aed963cc1557e
blob - 0c75579cb470e296c9a97a5ea0ac1e14f342971a
blob + 89384c49f08bc3027b3bab5aea7dd94029669839
--- include/got_path.h
+++ include/got_path.h
const struct got_error *got_path_dirent_type(int *, const char *,
struct dirent *);
-/* basename(3) with dynamically allocated result. */
+/* basename(3) with dynamically allocated result and unmodified input. */
const struct got_error *got_path_basename(char **, const char *);
/* Strip trailing slashes from a path; path will be modified in-place. */