ani: rename NEED_WORK_TREE -> NEED_REPO_DIR
Dependencies
- [2]
ZYBYX2TBAdd new pristine subcommand - [3]
B3XLVPNCAdd ani.c and initial Makefile - [4]
FB67XX5Eadd argument parsing setup - [5]
2U7P5SFQChange struct names "struct foo -> typedef struct Foo" - [6]
JVU3TTT5all: switch away from typedefing anonymous structs - [7]
ZTDGWUGPadd repository structure - [8]
ZPNA2D42ani: add functions to locate .pijul
Change contents
- replacement in ani.c at line 12
#define NEED_WORK_TREE (1 << 0)#define NEED_REPO_DIR (1 << 0) - replacement in ani.c at line 31
{ "change", cmd_change, NEED_WORK_TREE },{ "pristine", cmd_pristine, NEED_WORK_TREE },{ "change", cmd_change, NEED_REPO_DIR },{ "pristine", cmd_pristine, NEED_REPO_DIR }, - replacement in ani.c at line 78
if (command->flags & NEED_WORK_TREE) {if (command->flags & NEED_REPO_DIR) {