Re: [PATCH v4 2/5] revision.h: refactor "disable_stdin" and "read_from_stdin"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 9, 2021, 20:17 UTC
- Message-ID
- <xmqqv95j5jjp.fsf@gitster.g>
- In-Reply-To
- <patch-2.5-630feb06650-20210709T105851Z-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 7 quoted lines
> + /* > + * 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.