aboutsummaryrefslogtreecommitdiff
path: root/cmd/explain-pack/doc.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-14 13:34:51 +0000
committerGravatar Runxi Yu2026-06-14 13:34:51 +0000
commit55ea743f2d840711ac44e5a015303cd16fcf347d (patch)
tree1b06f54ea76072fab35e23e6258d84b6761f1011 /cmd/explain-pack/doc.go
parentci: Ignore err113/wrapcheck for cmd (diff)
cmd/explain-pack: Add
Diffstat (limited to 'cmd/explain-pack/doc.go')
-rw-r--r--cmd/explain-pack/doc.go10
1 files changed, 10 insertions, 0 deletions
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