Files
git/builtin
John Cai ac4e58cab9 cat-file: introduce batch_mode enum to replace print_contents
A future patch introduces a new --batch-command flag. Including --batch
and --batch-check, we will have a total of three batch modes. print_contents
is the only boolean on the batch_options sturct used to distinguish
between the different modes. This makes the code harder to read.

To reduce potential confusion, replace print_contents with an enum to
help readability and clarity.

Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-02-18 11:21:46 -08:00
..
2022-01-10 11:52:56 -08:00
2021-12-21 15:03:17 -08:00
2022-01-12 15:11:43 -08:00
2021-10-28 09:57:09 -07:00
2021-02-25 16:43:30 -08:00
2021-12-06 09:55:06 -08:00
2022-01-12 15:11:43 -08:00
2021-10-23 10:45:25 -07:00
2022-01-10 11:52:56 -08:00
2021-04-14 13:47:21 -07:00
2021-09-28 10:31:02 -07:00
2022-01-10 11:52:53 -08:00
2022-01-03 16:24:15 -08:00
2022-02-05 09:42:29 -08:00
2022-01-10 11:52:56 -08:00
2022-02-05 09:42:31 -08:00
2022-01-05 13:31:00 -08:00
2021-11-03 13:25:36 -07:00