summaryrefslogtreecommitdiff
path: root/Documentation/git-pack-objects.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-12-16 19:19:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-12-16 19:36:09 (GMT)
commit40a4f5a7bf0ffee4fa1fb954b1ebf5daba5bae75 (patch)
tree1e402cadfb07ae784a0f3f45ded8744cac54ecf4 /Documentation/git-pack-objects.txt
parent1190a1acf800acdcfd7569f87ac1560e2d077414 (diff)
downloadgit-40a4f5a7bf0ffee4fa1fb954b1ebf5daba5bae75.zip
git-40a4f5a7bf0ffee4fa1fb954b1ebf5daba5bae75.tar.gz
git-40a4f5a7bf0ffee4fa1fb954b1ebf5daba5bae75.tar.bz2
pack-objects doc: treat output filename as opaque
After 1190a1a (pack-objects: name pack files after trailer hash, 2013-12-05), the SHA-1 used to determine the filename is calculated differently. Update the documentation to not guarantee anything more than that the SHA-1 depends on the pack content somehow. Hopefully this will discourage readers from depending on the old or the new calculation. Reported-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
-rw-r--r--Documentation/git-pack-objects.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index d94edcd..cdab9ed 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -51,8 +51,7 @@ base-name::
<base-name> to determine the name of the created file.
When this option is used, the two files are written in
<base-name>-<SHA-1>.{pack,idx} files. <SHA-1> is a hash
- of the sorted object names to make the resulting filename
- based on the pack content, and written to the standard
+ based on the pack content and is written to the standard
output of the command.
--stdout::