minor: formatting
Dependencies
- [2]
NZNIG2ULFix lots of warnings, adjust build flags - [3]
JAGXXSR7change: initial work on decoding hunks - [4]
XTKRT6OQformat the codebase - [5]
Q7TKZCJPAdd initial support for reading the offsets from a (fixed) change - [6]
XTVLIC24change: refactor to print_change() - [7]
2U7P5SFQChange struct names "struct foo -> typedef struct Foo" - [8]
VKLGQREYchange: add base32 decode, initial deconstruction of hashed - [9]
ZKAOPMCHchange: Implement decoding of edits, atoms, positions, among others
Change contents
- replacement in hunk.h at line 6
unsigned int line; /* This is defined as usize, but it's probably better as a u64 */unsigned int line; /* Defined as usize, probably better as u64 */ - replacement in common.h at line 4
typedef char * str;typedef char *str; - replacement in change.h at line 17
uint64_t hashed_len; /* length of hashed contents */uint64_t hashed_len; /* length of hashed contents */ - replacement in change.h at line 69
uint64_t version; /* same as in offsets? here to be hashed! */uint64_t version; /* same as in offsets? here to be hashed! */ - replacement in change.c at line 609
printf("%lu. %s", i + 1, hunk_basehunk_type_str(hunk->hunktype));printf("%lu. %s", i + 1,hunk_basehunk_type_str(hunk->hunktype));