Commits
- Commit:
839bbaae43d84a7eb75ef0b327239fd36c360ada
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd, gotadmin: install packfiles and index files as 0444
gotd used 0600 (due to mkstemps(3)), gotadmin 0644; change it to 0444
since packfiles shouldn't change once created. Mirrors what git does.
ok stsp@
- Commit:
d8bacb933720b8819f0c4e76b004775aa1885b9b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: minor refactor of got_pathlist_free() API
Accept flag parameter to optionally specify which pointers to free. This saves
callers looping through the list to free pointers.
ok + fix stsp@
- Commit:
5bb4ff2b1627b8abf239cb4bc54375109b3e3a01
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce got_path_move_file(); based on code from lib/patch.c
ok op@
- Commit:
9d6cabd51222f7506db617ee8a7b282823dde999
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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@
- Commit:
41ad2652808e8c045a2a82b97bb309e35fde2887
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused function got_path_get_absolute(); realpath(3) is usually better
- Commit:
0c4004e3b4aebeca63f9345737174e8fbe69abb7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle non-const dirname(3) in got_path_dirname()
ok naddy
- Commit:
562386c58b14079697d80948b00aed963cc1557e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update got_path_basename() doc string
ok millert
- Commit:
20ccae39452cdf85f57023c8a7f029b0545adfa7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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@
- Commit:
bb51a5b4af467a42569e19cbeeeeccbb44d946f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -E option to 'got checkout' allowing use of a non-empty work tree path
needed by and ok kn@
- Commit:
f2b16adaedf4891924ea61e7f357b02c6cf42bdf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache path length in struct got_pathlist_entry
- Commit:
d572f5860a456fe9ab48d8444dd4cbec28fcae6c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
eliminate strlen() calls during fileindex rb tree searches
- Commit:
adc19d556533254f7f3fe8101c25f9de1ca46331
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove pointless output parameter from got_pathlist_append()
- Commit:
f2ea84fab96c77d352fe460a37f2722beb6225d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got update' accept mulitple path arguments
- Commit:
72ea6654e747de4879e06bd45e50ea7d9f5b7ed6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for multiple path arguments to 'got status'
- Commit:
49aa539ae942aff06b21e3252bed3977e80398e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove got_path_normalize(); pointless and unused
- Commit:
2c7829a4ca20def05fcbfb4e1557e8f7abbf9c1b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement 'got init'
- Commit:
0ee7065d8d7e2f4c85b8e806bda98645435f08ac
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got commit' look up EDITOR in PATH
The previous code only worked if EDITOR contained an absolute path.
- Commit:
280f921b7f983840bfb1f82e25c054ce55034924
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
heed API namespace: got_dir_is_empty -> got_path_dir_is_empty
- Commit:
3c45a30aebce27db2fb0f5b453695260456bacc9
- From:
- joshua stein <jcs@jcs.org>
- Date:
checkout: if worktree path exists and is empty, suppress mkdir failure
- Commit:
72151b04d0a9eb62823b0769601163f9ecf224d1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce got_path_strip_trailing_slashes()
- Commit:
324d37e7c791a6e6ff08598c3e6206ba956d0965
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got path APIs available to library consumers