git-unpack-objects.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. git-unpack-objects(1)
  2. =====================
  3. NAME
  4. ----
  5. git-unpack-objects - Unpack objects from a packed archive
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'git unpack-objects' [-n] [-q] [-r] [--strict]
  10. DESCRIPTION
  11. -----------
  12. Read a packed archive (.pack) from the standard input, expanding
  13. the objects contained within and writing them into the repository in
  14. "loose" (one object per file) format.
  15. Objects that already exist in the repository will *not* be unpacked
  16. from the packfile. Therefore, nothing will be unpacked if you use
  17. this command on a packfile that exists within the target repository.
  18. See linkgit:git-repack[1] for options to generate
  19. new packs and replace existing ones.
  20. OPTIONS
  21. -------
  22. -n::
  23. Dry run. Check the pack file without actually unpacking
  24. the objects.
  25. -q::
  26. The command usually shows percentage progress. This
  27. flag suppresses it.
  28. -r::
  29. When unpacking a corrupt packfile, the command dies at
  30. the first corruption. This flag tells it to keep going
  31. and make the best effort to recover as many objects as
  32. possible.
  33. --strict::
  34. Don't write objects with broken content or links.
  35. --max-input-size=<size>::
  36. Die, if the pack is larger than <size>.
  37. GIT
  38. ---
  39. Part of the linkgit:git[1] suite