Thread (1 message) 1 message, 1 author, 2022-02-08

Re: [PATCH v2 1/2] cat-file: rename cmdmode to transform_mode

From: Junio C Hamano <hidden>
Date: 2022-02-08 01:06:34

"John Cai via GitGitGadget" [off-list ref] writes:
From: John Cai <redacted>

When introducing a new flag --batch-command, we will add a flag on the
batch_options struct that indicates whether or not an interactive
command mode will be used that reads commands and arguments off of
stdin.

An intuitive name for this flag would be "command", which can get
confusing with the already existing cmdmode.
Is "command" truly an intuitive name for "were we given '--batch-command'
option?" bit?  I dunno.

But I agree that "transform_mode" is much better name than "cmdmode"
for what this member is about.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help