Commits
- Commit:
1bf2f1a06ee90cababf6787d589e91dd56a02852
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not crash when a meta-data file in the .got directory is empty
Reported by Matthias Schmidt
ok tb@
- Commit:
b277f9fb0e1d4e3dcf2b2848c198d5e213f29a06
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
got_worktree_open: do not skip a locked worktree
When trying to open a worktree from a list of metadata directories
(.got, .cvg), error out when a worktree is found but is already
locked. Skipping it and proceeding would result in a confusing
"no git repository found" error from tog and gotadmin.
ok stsp
- Commit:
df6221c7df42758252c508006201c3f66e6ae831
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a separate .cvg meta data directory for cvg(1) work trees
This prevents mixing the use of got and cvg clients in the same work tree.
Avoids confusion going forward while cvg differentiates itself further.
tog(1) and gotadmin(1) remain compatible with both work tree formats.
These tools only read work trees to locate the corresponding repository.
- Commit:
5822e79e39a8777984e08b5d89a8c55d6aa0356d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h too where sha1.h is included
In preparation for wide sha256 support; stsp@ agrees. Change done
mechanically with
find . -iname \*.[cy] -exec sam {} +
X ,x/<sha1\.h>/i/\n#include <sha2.h>
- Commit:
2f6519cc051376f41ed4f45fcd6d63c0e7ff5642
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing check for errors from got_gotconfig_read() in open_worktree()
- Commit:
5a950d099a15fa3dc29590f3a8e90de9d6e1972b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
using a local packfd variable in open_worktree() is sufficient
- Commit:
0ae84acc1f0a0584e4f26ccbe029c895043b3abe
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of got_repo_open. ok stsp@
thanks for all the help massaging this diff
- Commit:
d7b5a0e827bb38e5c8502f0ba8d7838fedaba19b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
inline struct got_object_id in struct got_object_qid
Saves us from doing a malloc/free call for every item on the list.
ok op@
- Commit:
8bd0cdad05519cbb08d8d11223bdde0472678150
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add O_CLOEXEC (close-on-exec) flag to open(2) calls
suggested by millert
ok thomas_adam
- Commit:
7d69d862a07866680ea64fcf8c30500f1f510243
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let gotadmin find the repository automatically if invoked in a work tree
Move a small amount of code from worktree.c to a new file worktree_open.c,
which contains everything required to open and close a work tree and inspect
some of its basic parameters. This can be used by gotadmin.
ok tracey