Commits
- Commit:
3428a4637c1b22375936cca37656bd2d67ade1b2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
hacks to get got-read-pack working on sha256 repositories
- Commit:
01f02e603b4cddeaf18b46197eacc16a88ec3d67
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix objectformat=sha256; handle it for real!
- Commit:
1362b0e3088fdb4d1c93ffbdd3a1fbbdc767a34b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename sha1.c to hash.c
- Commit:
69c6accf47680d70def917cbab0e761177d8264b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h where sha1.h was included
- Commit:
3093e2d747a41afd623354136331c7babea32ca8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sed -i s/sha1/hash
not exactly, some "hash" were changed back to "sha1" for the time being.
- 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:
b90054ed55f30ebe28115abf5ad9cecc2b925713
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use mkstemps(3) instead of mkstemp(3) for opening named temporary files
Allows 'got commit' to use a ".diff" suffix for temporary diff files.
ok op@
- Commit:
cae60ab8f2a261b006b3ccbded2d53dccbd6f300
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let callers of got_pack_create() configure rate-limiting of progress reporting
Needed by future gotd(8), where progress reports will be sent to a network
socket, rather than a local terminal.
- Commit:
a32780aad7a4bc8539de9e7fd39b371f2fe8c346
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move got_opentempfd() call out of got_pack_create()
Future gotd(8) needs to run got_pack_create() in a chroot environment,
so we can no longer open new temporary files inside got_pack_create().
ok op@
- Commit:
894e4711ffca9e21b24e567a610d387bd0c31817
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got_pack_create() write to a file descriptor instead of a stdio FILE
The old code required a seekable output file. This conflicts with requirements
of future gotd(8), which will write pack file data to network sockets.
ok op@
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
2edc2f9dc130b3033b3ac7fe72754b2e6ef15dc7
- From:
- Florian Obser <florian@narrans.de>
- Date:
If the first readdir() returns NULL err is uninitialized.
This can't happen in practice, but llvm's scan-build doesn't know this.
OK stsp
- 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:
7e4f461f98ca8599ac26846e9ca24d621574f33b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sort references by date for packing; newer commits should be processed first
- Commit:
8934ea8b1b31166ea1f3f857e6f51f8dd6a999a2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
factorize imsg_clear calls after imsg_flush failures
imsg_clear frees and closes resources allocated as part of enqueueing
imsgs so it's a no-op after reads.
discussed with and ok stsp@