change: find change files from repo dir
Dependencies
- [2]
2U7P5SFQChange struct names "struct foo -> typedef struct Foo" - [3]
WQSKMNHRchange: reformat line - [4]
Q7TKZCJPAdd initial support for reading the offsets from a (fixed) change - [5]
QYRJIOYPchange: separate decoding and printing of hashed struct - [6]
XTKRT6OQformat the codebase - [7]
RIWSVVASchange: decompress the 'contents' with zstd_seekable - [8]
QEFCNNVCchange: display offsets for given change file - [9]
3FT3XTJMchange: support -v/-h flags - [10]
VKLGQREYchange: add base32 decode, initial deconstruction of hashed - [11]
LKIBESCNchange: adjust function signatures - [12]
HKBM7HZGminor: formatting - [*]
B3XLVPNCAdd ani.c and initial Makefile - [*]
FB67XX5Eadd argument parsing setup
Change contents
- replacement in common.h at line 44
#endif[2.1741]#define DOTPIJUL ".pijul"#ifndef PATH_MAX#define PATH_MAX 4096#endif#endif - edit in change.c at line 8
#include <limits.h> - edit in change.c at line 593
int i; - replacement in change.c at line 596[3.1429]→[3.122:132](∅→∅),[3.2620]→[3.122:132](∅→∅),[3.2254]→[3.122:132](∅→∅),[3.132]→[3.2025:2126](∅→∅)
char *h;char chfile[78] =".pijul/changes/AH/IXA5ZESN6QJXV2LKRSC4H5ZRFMJFHFPY2RQRARTH3XJLLCMCGQC.change";char *h, *p;char chfile[PATH_MAX] = {0}; - edit in change.c at line 600
/* FIXME - make this a lot nicer... *//* assert strlen(repodir) < PATH_MAX - strlen(".pijul/changes/XX/YYYYYYYYY...YYY.change") */p = stpncpy(chfile, repodir, PATH_MAX);*p++ = '/';p = stpncpy(p, DOTPIJUL, 6);*p++ = '/';p = stpncpy(p, "changes/", 8); - replacement in change.c at line 609
chfile[15] = *h++;chfile[16] = *h++;*p++ = *h++;*p++ = *h++;*p++ = '/'; - replacement in change.c at line 613
for (i = 18; i < 69; i++)chfile[i] = *h++;p = stpncpy(p, h, 51);stpncpy(p, ".change", 7); - edit in ani.c at line 6[2.4530][15.1130]
#include "scaffold.h"