Skip to content
This repository was archived by the owner on Jul 2, 2019. It is now read-only.

Commit e23ed9a

Browse files
Nicolas PitreJunio C Hamano
authored andcommitted
pack-objects doesn't create random pack names
Documentation for pack-objects seems to be out of date in this regard. Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 91c23e4 commit e23ed9a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/git-pack-objects.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ base-name::
4747
<base-name> to determine the name of the created file.
4848
When this option is used, the two files are written in
4949
<base-name>-<SHA1>.{pack,idx} files. <SHA1> is a hash
50-
of object names (currently in random order so it does
51-
not have any useful meaning) to make the resulting
52-
filename reasonably unique, and written to the standard
50+
of the sorted object names to make the resulting filename
51+
based on the pack content, and written to the standard
5352
output of the command.
5453

5554
--stdout::

0 commit comments

Comments
 (0)