include/got_path.h


Log

Author Commit Date CI Message
Omar Polo 9d6cabd5 2022-04-07T09:28:59 got patch: allow to strip path components Move some bits from the libexec helper to the main process so we know if the patch was generated by git or not and finally document the automatic stripping of a/ and b/ prefixes added by git-diff(1). ok stsp@
Stefan Sperling 41ad2652 2020-12-04T20:27:43 remove unused function got_path_get_absolute(); realpath(3) is usually better
Stefan Sperling 0c4004e3 2020-10-20T21:09:00 handle non-const dirname(3) in got_path_dirname() ok naddy
Stefan Sperling 562386c5 2020-10-19T23:14:59 update got_path_basename() doc string ok millert
Stefan Sperling 20ccae39 2020-07-21T14:19:32 cope with directory entries returned from readdir(3) with type DT_UNKNOWN Such directory entries need special handling to make our directory traversal code work on filesystems that do not support the d_type optimization. I found this problem because references stored in the refs/ directory were not shown by 'got log' and 'tog log' when a repository is mounted over NFS. helpful feedback + ok millert@
Stefan Sperling bb51a5b4 2020-01-13T10:28:58 add -E option to 'got checkout' allowing use of a non-empty work tree path needed by and ok kn@
Stefan Sperling f2b16ada 2019-08-02T15:50:16 cache path length in struct got_pathlist_entry
Stefan Sperling d572f586 2019-08-02T15:42:42 eliminate strlen() calls during fileindex rb tree searches
Stefan Sperling adc19d55 2019-07-28T12:48:56 remove pointless output parameter from got_pathlist_append()
Stefan Sperling f2ea84fa 2019-07-27T14:26:10 make 'got update' accept mulitple path arguments
Stefan Sperling 72ea6654 2019-07-27T11:21:56 add support for multiple path arguments to 'got status'
Stefan Sperling 49aa539a 2019-07-22T10:41:16 remove got_path_normalize(); pointless and unused
Stefan Sperling 2c7829a4 2019-06-17T14:15:05 implement 'got init'
Stefan Sperling 0ee7065d 2019-05-13T13:56:40 make 'got commit' look up EDITOR in PATH The previous code only worked if EDITOR contained an absolute path.
Stefan Sperling 280f921b 2019-05-12T15:30:43 heed API namespace: got_dir_is_empty -> got_path_dir_is_empty
joshua stein 3c45a30a 2019-05-12T14:56:24 checkout: if worktree path exists and is empty, suppress mkdir failure
Stefan Sperling 72151b04 2019-05-11T09:37:08 introduce got_path_strip_trailing_slashes()
Stefan Sperling 324d37e7 2019-05-11T09:14:30 make got path APIs available to library consumers
Stefan Sperling c3f94f68 2017-11-05T14:20:01 remove got_path functions from public api
Stefan Sperling 7b19e0f1 2017-11-05T13:35:01 add copyright
Stefan Sperling 4027f31a 2017-11-04T19:41:54 initial import; current implementation only parses the .git/HEAD ref