Skip to content

Commit ae0b219

Browse files
loopsJunio C Hamano
authored andcommitted
Update git-unpack-objects documentation.
Document that git-unpack-objects will not produce any results when used on a pack that exists in a repository; move it first. Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent e994004 commit ae0b219

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Documentation/git-unpack-objects.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ SYNOPSIS
1313

1414
DESCRIPTION
1515
-----------
16-
Reads a packed archive (.pack) from the standard input, and
17-
expands the objects contained in the pack into "one-file
18-
one-object" format in $GIT_OBJECT_DIRECTORY.
16+
Read a packed archive (.pack) from the standard input, expanding
17+
the objects contained within and writing them into the repository in
18+
"loose" (one object per file) format.
19+
20+
Objects that already exist in the repository will *not* be unpacked
21+
from the pack-file. Therefore, nothing will be unpacked if you use
22+
this command on a pack-file that exists within the target repository.
23+
24+
Please see the `git-repack` documentation for options to generate
25+
new packs and replace existing ones.
1926

2027
OPTIONS
2128
-------

0 commit comments

Comments
 (0)