]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jb/doc-packfile-name' into master
authorJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2020 04:34:32 +0000 (21:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2020 04:34:32 +0000 (21:34 -0700)
Doc update.

* jb/doc-packfile-name:
  pack-write/docs: update regarding pack naming

1  2 
Documentation/git-index-pack.txt
pack-write.c

index 9316d9a80b0d7bb5f83f80400585fe7cb22dc723,b89a5517e5dcdad323e6293eaaf665f59dade48e..ac74d058e01d13830b276616dce25d5745b64699
@@@ -90,22 -87,12 +90,22 @@@ OPTION
        Specifying 0 will cause Git to auto-detect the number of CPU's
        and use maximum 3 threads.
  
 +--max-input-size=<size>::
 +      Die, if the pack is larger than <size>.
  
 -Note
 -----
 +--object-format=<hash-algorithm>::
 +      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
 +-----
  
- Once the index has been created, the list of object names is sorted
and the SHA-1 hash of that list is printed to stdout. If --stdin was
+ Once the index has been created, the hash that goes into the name of
the pack/idx file is printed to stdout. If --stdin was
  also used then this is prefixed by either "pack\t", or "keep\t" if a
  new .keep file was successfully created. This is useful to remove a
  .keep file used as a lock to prevent the race with 'git repack'
diff --cc pack-write.c
Simple merge