change: decode and print {,un}solve order conflicts
Dependencies
- [2]
2YF4J5SJchange: decode and print file undel - [*]
JAGXXSR7change: initial work on decoding hunks - [*]
55SITR55change: decode replacements - [*]
JVU3TTT5all: switch away from typedefing anonymous structs - [*]
ZKAOPMCHchange: Implement decoding of edits, atoms, positions, among others - [*]
Q7TKZCJPAdd initial support for reading the offsets from a (fixed) change - [*]
33ZXTRXRchange: decode and print file deletions
Change contents
- edit in hunk.h at line 64
};struct solveorderconflict {struct atom change;struct local local;};struct unsolveorderconflict {struct atom change;struct local local; - edit in hunk.h at line 85
struct solveorderconflict solveorderconflict;struct unsolveorderconflict unsolveorderconflict; - edit in change.c at line 366[2.407][9.344]
);break;case SOLVE_ORDER_CONFLICT:change_decode_atom(binstat, &bhunk->solveorderconflict.change);change_decode_local(binstat, &bhunk->solveorderconflict.local);break;case UNSOLVE_ORDER_CONFLICT:change_decode_atom(binstat, &bhunk->unsolveorderconflict.change);change_decode_local(binstat, &bhunk->unsolveorderconflict.local - edit in change.c at line 745[9.438][9.438]
break;}case SOLVE_ORDER_CONFLICT: {struct solveorderconflict *s =&hunk->solveorderconflict;printf(" in %s:%lu\n", s->local.path, s->local.line);break;}case UNSOLVE_ORDER_CONFLICT: {struct unsolveorderconflict *s =&hunk->unsolveorderconflict;printf(" in %s:%lu\n", s->local.path, s->local.line);