The flag always indicated that a subcommand needs the .pijul dir and not exactly a work tree.
CS3OZD2JHXAGGCFIJRPCJE3EF26OI6KV3XY52MELNBUVBVDVFFMQC
ZYBYX2TBKWAKNMPCWT3B7CJRDEO3LOENGOXZF27JGD4UH6YCN25AC
B3XLVPNC4COLLC3FUE34Y7HIKTMF6CJZUASZOU3YM2YGPZKJZP7QC
ZPNA2D42RFGGC45PLDYDGQUDPC7D4NBEH2HD4Y2L5P2CK3R52FAQC
FB67XX5EGNF45JNAQISW7CBLSLS36F6JEUOBTTPUMVBMOVLGA3VQC
#define NEED_WORK_TREE (1 << 0)
#define NEED_REPO_DIR (1 << 0)
{ "change", cmd_change, NEED_WORK_TREE }, { "pristine", cmd_pristine, NEED_WORK_TREE },
{ "change", cmd_change, NEED_WORK_TREE },
{ "pristine", cmd_pristine, NEED_WORK_TREE },
{ "change", cmd_change, NEED_REPO_DIR }, { "pristine", cmd_pristine, NEED_REPO_DIR },
{ "change", cmd_change, NEED_REPO_DIR },
{ "pristine", cmd_pristine, NEED_REPO_DIR },
if (command->flags & NEED_WORK_TREE) {
if (command->flags & NEED_REPO_DIR) {