Re: [PATCH v4 2/5] revision.h: refactor "disable_stdin" and "read_from_stdin"
From: Junio C Hamano <hidden> Date: 2021-07-09 20:17:17
Ævar Arnfjörð Bjarmason [off-list ref] writes:
+ /*
+ * Did we read from stdin due to stdin_handling ==
+ * REV_INFO_STDIN_CONSUME_ON_OPTION and seeing the --stdin
+ * option?
*/
- int read_from_stdin;
+ int consumed_stdin:1;
Will make this into "unsigned int" while queuing, as 1-bit signed
bitfield would not make much sense.