From 55ea743f2d840711ac44e5a015303cd16fcf347d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 14 Jun 2026 13:34:51 +0000 Subject: cmd/explain-pack: Add --- cmd/explain-pack/doc.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cmd/explain-pack/doc.go (limited to 'cmd/explain-pack/doc.go') diff --git a/cmd/explain-pack/doc.go b/cmd/explain-pack/doc.go new file mode 100644 index 00000000..f5fcc986 --- /dev/null +++ b/cmd/explain-pack/doc.go @@ -0,0 +1,10 @@ +// Command explain-pack reads a Git packfile and writes a +// human-readable explanation to stdout. +// +// With a pack filename argument +// the pack is mmap'd +// and a sibling .idx is used when present; +// with no argument the pack is read from stdin. +// A packfile does not record its object format, +// so the format must be given with -format. +package main -- cgit v1.3.1-10-gc9f91