Code

unpack_sha1_file: zero-pad the unpacked object.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 May 2005 01:25:08 +0000 (18:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 May 2005 01:25:08 +0000 (18:25 -0700)
commite871b649a3f4ede26eb98c7d46df7acdc7ecbe81
tree47039eefa22fcbbe31884cac4fe0ab067f795105
parent9fdade06739af0b3e27422a973ae4fd83e3c918e
unpack_sha1_file: zero-pad the unpacked object.

This makes them easier to parse without having to worry about
running off the end, and allows us to treat commits as normal
strings.
sha1_file.c