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>
Jeff King committed
Dec 16, 2013 at 11:19 UTC
40a4f5a7bf0ffee4fa1fb954b1ebf5daba5bae75
1 file changed
+1
-2
Documentation/git-pack-objects.txt
+1
-2
@@ -51,8 +51,7 @@ base-name::
51
<base-name> to determine the name of the created file.
52
When this option is used, the two files are written in
53
<base-name>-<SHA-1>.{pack,idx} files. <SHA-1> is a hash
54
- of the sorted object names to make the resulting filename
55
- based on the pack content, and written to the standard
54
+ based on the pack content and is written to the standard
55
output of the command.
56
57
--stdout::