aboutsummaryrefslogtreecommitdiff
path: root/cmd/explain-pack/doc.go
diff options
context:
space:
mode:
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