~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to Documentation/technical/pack-format.txt

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
            +--------------------------------+ |
81
81
main        | offset                         | |
82
82
index       | object name 00XXXXXXXXXXXXXXXX | |
83
 
table       +--------------------------------+ | 
 
83
table       +--------------------------------+ |
84
84
            | offset                         | |
85
85
            | object name 00XXXXXXXXXXXXXXXX | |
86
86
            +--------------------------------+ |
97
97
          | +--------------------------------+
98
98
          | | idxfile checksum               |
99
99
          | +--------------------------------+
100
 
          .-------.      
 
100
          .-------.
101
101
                  |
102
102
Pack file entry: <+
103
103
 
104
104
     packed object header:
105
105
        1-byte size extension bit (MSB)
106
106
               type (next 3 bit)
107
 
               size0 (lower 4-bit) 
 
107
               size0 (lower 4-bit)
108
108
        n-byte sizeN (as long as MSB is set, each 7-bit)
109
109
                size0..sizeN form 4+7+7+..+7 bit integer, size0
110
110
                is the least significant part, and sizeN is the
114
114
                is the size before compression).
115
115
        If it is DELTA, then
116
116
          20-byte base object name SHA1 (the size above is the
117
 
                size of the delta data that follows).
 
117
                size of the delta data that follows).
118
118
          delta data, deflated.