diff options
author | John Cai <johncai86@gmail.com> | 2022-02-18 18:23:11 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-18 11:21:46 -0800 |
commit | a2c75526d21939d5d4e36dbbd6093a5e2c14c39f (patch) | |
tree | 0e2828c675ae7669ac104e023ec2a9992857d884 /t/t4059-diff-submodule-not-initialized.sh | |
parent | The first batch (diff) | |
download | tgif-a2c75526d21939d5d4e36dbbd6093a5e2c14c39f.tar.xz |
cat-file: rename cmdmode to transform_mode
In the next patch, we will add an enum on the batch_options struct that
indicates which type of batch operation will be used: --batch,
--batch-check and the soon to be --batch-command that will read
commands from stdin. --batch-command mode might get confused with
the cmdmode flag.
There is value in renaming cmdmode in any case. cmdmode refers to how
the result output of the blob will be transformed, either according to
--filter or --textconv. So transform_mode is a more descriptive name
for the flag.
Rename cmdmode to transform_mode in cat-file.c
Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4059-diff-submodule-not-initialized.sh')
0 files changed, 0 insertions, 0 deletions