]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/cat-file-batch-commands'
authorJunio C Hamano <gitster@pobox.com>
Wed, 9 Mar 2022 21:38:24 +0000 (13:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Mar 2022 21:38:24 +0000 (13:38 -0800)
"git cat-file" learns "--batch-command" mode, which is a more
flexible interface than the existing "--batch" or "--batch-check"
modes, to allow different kinds of inquiries made.

* jc/cat-file-batch-commands:
  cat-file: add --batch-command mode
  cat-file: add remove_timestamp helper
  cat-file: introduce batch_mode enum to replace print_contents
  cat-file: rename cmdmode to transform_mode


Trivial merge