logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

git-unpack-objects.1 (2527B)


  1. '\" t
  2. .\" Title: git-unpack-objects
  3. .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
  5. .\" Date: 2025-03-14
  6. .\" Manual: Git Manual
  7. .\" Source: Git 2.49.0
  8. .\" Language: English
  9. .\"
  10. .TH "GIT\-UNPACK\-OBJECTS" "1" "2025-03-14" "Git 2\&.49\&.0" "Git Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. git-unpack-objects \- Unpack objects from a packed archive
  32. .SH "SYNOPSIS"
  33. .sp
  34. .nf
  35. \fIgit unpack\-objects\fR [\-n] [\-q] [\-r] [\-\-strict]
  36. .fi
  37. .SH "DESCRIPTION"
  38. .sp
  39. Read a packed archive (\&.pack) from the standard input, expanding the objects contained within and writing them into the repository in "loose" (one object per file) format\&.
  40. .sp
  41. Objects that already exist in the repository will \fBnot\fR be unpacked from the packfile\&. Therefore, nothing will be unpacked if you use this command on a packfile that exists within the target repository\&.
  42. .sp
  43. See \fBgit-repack\fR(1) for options to generate new packs and replace existing ones\&.
  44. .SH "OPTIONS"
  45. .PP
  46. \-n
  47. .RS 4
  48. Dry run\&. Check the pack file without actually unpacking the objects\&.
  49. .RE
  50. .PP
  51. \-q
  52. .RS 4
  53. The command usually shows percentage progress\&. This flag suppresses it\&.
  54. .RE
  55. .PP
  56. \-r
  57. .RS 4
  58. When unpacking a corrupt packfile, the command dies at the first corruption\&. This flag tells it to keep going and make the best effort to recover as many objects as possible\&.
  59. .RE
  60. .PP
  61. \-\-strict
  62. .RS 4
  63. Don\(cqt write objects with broken content or links\&.
  64. .RE
  65. .PP
  66. \-\-max\-input\-size=<size>
  67. .RS 4
  68. Die, if the pack is larger than <size>\&.
  69. .RE
  70. .SH "GIT"
  71. .sp
  72. Part of the \fBgit\fR(1) suite