Limiting the output size of log (with a CLI flag)
Dependencies
- [2]
EUZFFJSOUpdating Pijul with the latest changes in Libpijul - [3]
A3RM526YIntegrating identity malleability - [4]
YN63NUZOSanakirja 1.0 - [5]
I24UEJQLVarious post-fire fixes - [6]
PH7B6I3UFixing log --hash-only - [7]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump - [8]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [9]
SMMBFECLConverting to the new patch format "online"
Change contents
- edit in pijul/src/commands/log.rs at line 55
let limit = self.limit.unwrap_or(std::usize::MAX);let offset = self.offset.unwrap_or(0); - replacement in pijul/src/commands/log.rs at line 58
for h in txn.reverse_log(&*channel.read(), None)? {for h in txn.reverse_log(&*channel.read(), None)?.skip(offset).take(limit){ - replacement in pijul/src/commands/log.rs at line 72
for h in txn.reverse_log(&*channel.read(), None)? {for h in txn.reverse_log(&*channel.read(), None)?.skip(offset).take(limit){