X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=Documentation%2Fgit-index-pack.txt;fp=Documentation%2Fgit-index-pack.txt;h=9316d9a80b0d7bb5f83f80400585fe7cb22dc723;hp=d5b7560bfe2d51370c313ee006a9f0ed4388eda4;hb=12210859da0c16c644dab658d9e1ef671ec28788;hpb=a08a83db2bf27f015bec9a435f6d73e223c21c5e diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt index d5b7560bfe..9316d9a80b 100644 --- a/Documentation/git-index-pack.txt +++ b/Documentation/git-index-pack.txt @@ -93,6 +93,14 @@ OPTIONS --max-input-size=:: Die, if the pack is larger than . +--object-format=:: + Specify the given object format (hash algorithm) for the pack. The valid + values are 'sha1' and (if enabled) 'sha256'. The default is the algorithm for + the current repository (set by `extensions.objectFormat`), or 'sha1' if no + value is set or outside a repository. ++ +This option cannot be used with --stdin. + NOTES -----