Move "wantWrite" field of ObjectToPack into the flags field
commita8bb70fc26d365b3feb3c9410c4afab03fd7ba5f
authorShawn O. Pearce <spearce@spearce.org>
Thu, 25 Dec 2008 02:11:16 +0000 (24 18:11 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 4 Jan 2009 00:06:08 +0000 (4 01:06 +0100)
tree39e0e8fcabb165d784aa0ab0bc6c5cefa8623a2a
parent45d9074cbfc43a3e8dd793ba47fcfe94375d58b8
Move "wantWrite" field of ObjectToPack into the flags field

This reduces the ObjectToPack structure by 4 bytes, saving us 4 MB
on the linux kernel repository.  Its only a single bit value, so
keeping it in a full boolean is rather wasteful given how many of
these objects we need in to pack a large project.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/PackWriter.java