blob: 610b78b7442f146d9b7af458292c85d570c1e2fb [file] [log] [blame]
'\" t
.\" Title: git-multi-pack-index
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 04/16/2019
.\" Manual: Git Manual
.\" Source: Git 2.21.0.419.gffac537e6c
.\" Language: English
.\"
.TH "GIT\-MULTI\-PACK\-IN" "1" "04/16/2019" "Git 2\&.21\&.0\&.419\&.gffac53" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
git-multi-pack-index \- Write and verify multi\-pack\-indexes
.SH "SYNOPSIS"
.sp
.nf
\fIgit multi\-pack\-index\fR [\-\-object\-dir=<dir>] <verb>
.fi
.sp
.SH "DESCRIPTION"
.sp
Write or verify a multi\-pack\-index (MIDX) file\&.
.SH "OPTIONS"
.PP
\-\-object\-dir=<dir>
.RS 4
Use given directory for the location of Git objects\&. We check
\fB<dir>/packs/multi\-pack\-index\fR
for the current MIDX file, and
\fB<dir>/packs\fR
for the pack\-files to index\&.
.RE
.PP
write
.RS 4
When given as the verb, write a new MIDX file to
\fB<dir>/packs/multi\-pack\-index\fR\&.
.RE
.PP
verify
.RS 4
When given as the verb, verify the contents of the MIDX file at
\fB<dir>/packs/multi\-pack\-index\fR\&.
.RE
.SH "EXAMPLES"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Write a MIDX file for the packfiles in the current \&.git folder\&.
.sp
.if n \{\
.RS 4
.\}
.nf
$ git multi\-pack\-index write
.fi
.if n \{\
.RE
.\}
.sp
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Write a MIDX file for the packfiles in an alternate object store\&.
.sp
.if n \{\
.RS 4
.\}
.nf
$ git multi\-pack\-index \-\-object\-dir <alt> write
.fi
.if n \{\
.RE
.\}
.sp
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Verify the MIDX file for the packfiles in the current \&.git folder\&.
.sp
.if n \{\
.RS 4
.\}
.nf
$ git multi\-pack\-index verify
.fi
.if n \{\
.RE
.\}
.sp
.RE
.SH "SEE ALSO"
.sp
See \m[blue]\fBThe Multi\-Pack\-Index Design Document\fR\m[]\&\s-2\u[1]\d\s+2 and \m[blue]\fBThe Multi\-Pack\-Index Format\fR\m[]\&\s-2\u[2]\d\s+2 for more information on the multi\-pack\-index feature\&.
.SH "GIT"
.sp
Part of the \fBgit\fR(1) suite
.SH "NOTES"
.IP " 1." 4
The Multi-Pack-Index Design Document
.RS 4
\%git-htmldocs/technical/multi-pack-index.html
.RE
.IP " 2." 4
The Multi-Pack-Index Format
.RS 4
\%git-htmldocs/technical/pack-format.html
.RE