aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/src
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-12-01 09:59:55 -0800
committerShawn O. Pearce <spearce@spearce.org>2010-12-01 09:59:55 -0800
commite0a9961b781db240d71190dece2fd2c70ea79765 (patch)
tree2630b113d774b4cafb0dceac6ef828f388194bcd /org.eclipse.jgit.pgm/src
parentd29b5db695225ed9629b028f99070bd182320b0f (diff)
downloadjgit-e0a9961b781db240d71190dece2fd2c70ea79765.tar.gz
jgit-e0a9961b781db240d71190dece2fd2c70ea79765.zip
Avoid unnecessary decoding of length in PackFile
If the object type is a whole object and all we want is the type, there is no need to skip the length header. The type is already known and can be returned as-is. Instead skip the length header only for the two delta formats, where the delta base must itself be scanned. Change-Id: I87029258e88924b3e5850bdd6c9006a366191d10 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.pgm/src')
0 files changed, 0 insertions, 0 deletions