Commits
- Commit:
ad4cc36168576274131539e87b9007ef9b3c3725
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert got_pack' filesize to off_t; ok stsp@
- Commit:
1c28a36116110db5de40e6edf09887651f3ca37b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
check size before calling mmap(2)
It's only a preparatory step, as checking whether a size_t is less than
SIZE_MAX is moot. In a follow-up commit, however, the `filesize' field
of the struct got_pack will become off_t and these checks will kick in.
This also makes consistent how we guard mmap(2) against empty files.
ok and improvements stsp@
- Commit:
9316cc27bdc5db7db6927879f3c47b63f1c8ded2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch integers used for counting objects while indexing pack files to unsigned
- Commit:
713d6e1144f1c1a21dd9013eab0cdf75a6b01ab8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let callers of got_pack_index() configure the rate limit of progress reporting
- Commit:
0136599f8fc0aa5d26834c46a9b9feb48d12c726
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move pack indexing code into new file lib/pack_index.c
Prepares for sharing code between got-index-pack and future gotd(8).
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
ea8d9c76cc8fdc1dacfcc1cb952769fcd0930b10
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert two snprintf to strlcpy
"looks good to me" millert@
- Commit:
dac5c75ed0c009997c4b71cb83bfaebbfaff22f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert delta cache to a hash table
This approach uses more memory but is much faster. To offset the
additional memory usage somewhat the cache now stores very small
deltas only. However, overall memory usage goes up. Hopefully we
will find a way to reduce this later.
ok op@
- Commit:
d0f1e2f1b9f0e472831dc88cc9885c61d52c87f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
apply time-based rate-limiting to got-index-pack progress output
- Commit:
8347f8e796a6f59deaf6f75275ae6e3d730fce9f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug memory leak in an error path of read_packed_object()
- Commit:
07965a0dfc49b585f5d2d6c2f8f645dfe3ef0d8c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong function names in error messages from got-index-pack.c
- Commit:
d5c81d448ae4eec21053152e1c82c66eb11ca7a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
verify object ID checksums while loose objects are being accessed
- Commit:
dbdddfee1482b50ca8c4a0be06e4fec6a59fb9f4
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch from SIMPLEQ to equivalent STAILQ macros
The singly-linked tail queue macros were added to OpenBSD 6.9 and
are more widely available on other systems.
ok stsp
- Commit:
85f4e1e7d36a206d3861d49c00e207d3e7fcab80
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix the type of variable 'idx' in update_packidx()
- Commit:
6059809a13b5d528052e38f84661039e6565f458
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use size_t for loop indices to avoid signedness warnings; by emaste@freebsd
Same change as 16aeacf7088d, for subdirectories other than lib/