Commit Diff


commit - 0ee7065d8d7e2f4c85b8e806bda98645435f08ac
commit + 08680430768530f8c5623618e07a4cf068a9cc1f
blob - fa5d77b82f53ddb0305af33d2828ab46b8ec66f0
blob + a0cd8335240385644aab73fbf3221f9c2da0960c
--- lib/path.c
+++ lib/path.c
@@ -380,6 +380,7 @@ got_path_strip_trailing_slashes(char *path)
 		path[x] = '\0';
 }
 
+/* based on findprog() from usr.sbin/which/which.c */
 const struct got_error *
 got_path_find_prog(char **filename, const char *prog)
 {