Skip to content

cat-file: add %(objectmode) avoid verifying submodules' OIDs

Johannes Schindelin via GitGitGadget git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3t1006: update 'run_tests' to test generic object specifierst/t1006-cat-file.sh+24 -221 reply
2/3cat-file: add %(objectmode) atomDocumentation/git-cat-file.txt builtin/cat-file.c t/t1006-cat-file.sh+27 -102 replies
3/3cat-file: avoid verifying submodules' OIDsDocumentation/git-cat-file.txt builtin/cat-file.c t/t1006-cat-file.sh+41 -64 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] cat-file: add %(objectmode) avoid verifying submodules' OIDs

The cat-file --batch command is very valuable in server settings, but so far it is missing a bit of functionality that would come in handy there.

For example, it is sometimes necessary to determine the object mode of a batch of tree objects' children.

This came up in $dayjob recently, and applies cleanly to v2.44.0.

Johannes Schindelin (1):
cat-file: avoid verifying submodules' OIDs

Victoria Dye (2):
t1006: update 'run_tests' to test generic object specifiers
cat-file: add %(objectmode) atom

 Documentation/git-cat-file.txt | 10 +++++
 builtin/cat-file.c             | 41 ++++++++++++++----
 t/t1006-cat-file.sh            | 79 +++++++++++++++++++++-------------
 3 files changed, 92 insertions(+), 38 deletions(-)

base-commit: 3c2a3fdc388747b9eaf4a4a4f2035c1c9ddb26d0
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1689%2Fdscho%2Fcat-file-vs-submodules-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1689/dscho/cat-file-vs-submodules-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1689

Signature · 1 line
gitgitgadget