summaryrefslogtreecommitdiffstats
path: root/man1/git-unpack-objects.1
blob: 5e88e9100f0bb183400f79d83936d43e0c08c27b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
'\" t
.\"     Title: git-unpack-objects
.\"    Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 2024-04-22
.\"    Manual: Git Manual
.\"    Source: Git 2.45.0.rc0.3.g00e10ef10e
.\"  Language: English
.\"
.TH "GIT\-UNPACK\-OBJECTS" "1" "2024\-04\-22" "Git 2\&.45\&.0\&.rc0\&.3\&.g00" "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-unpack-objects \- Unpack objects from a packed archive
.SH "SYNOPSIS"
.sp
.nf
\fIgit unpack\-objects\fR [\-n] [\-q] [\-r] [\-\-strict]
.fi
.sp
.SH "DESCRIPTION"
.sp
Read a packed archive (\&.pack) from the standard input, expanding the objects contained within and writing them into the repository in "loose" (one object per file) format\&.
.sp
Objects that already exist in the repository will \fBnot\fR be unpacked from the packfile\&. Therefore, nothing will be unpacked if you use this command on a packfile that exists within the target repository\&.
.sp
See \fBgit-repack\fR(1) for options to generate new packs and replace existing ones\&.
.SH "OPTIONS"
.PP
\-n
.RS 4
Dry run\&. Check the pack file without actually unpacking the objects\&.
.RE
.PP
\-q
.RS 4
The command usually shows percentage progress\&. This flag suppresses it\&.
.RE
.PP
\-r
.RS 4
When unpacking a corrupt packfile, the command dies at the first corruption\&. This flag tells it to keep going and make the best effort to recover as many objects as possible\&.
.RE
.PP
\-\-strict
.RS 4
Don\(cqt write objects with broken content or links\&.
.RE
.PP
\-\-max\-input\-size=<size>
.RS 4
Die, if the pack is larger than <size>\&.
.RE
.SH "GIT"
.sp
Part of the \fBgit\fR(1) suite