summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJohn Cai <johncai86@gmail.com>2022-02-18 18:23:11 +0000
committerJunio C Hamano <gitster@pobox.com>2022-02-18 11:21:46 -0800
commita2c75526d21939d5d4e36dbbd6093a5e2c14c39f (patch)
tree0e2828c675ae7669ac104e023ec2a9992857d884 /commit.c
parent38062e73e009f27ea192d50481fcb5e7b0e9d6eb (diff)
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 'commit.c')
0 files changed, 0 insertions, 0 deletions