]> source.dussan.org Git - jgit.git/commit
Add setLength(long) to DirCacheEntry 85/1385/1
authorShawn O. Pearce <spearce@spearce.org>
Mon, 23 Aug 2010 17:29:50 +0000 (10:29 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 23 Aug 2010 17:29:50 +0000 (10:29 -0700)
commitedd8029558483a56c850f1beb31f81f5e1288f09
tree8c4fd94d19280f10efd41943b186d24aa3202f10
parent6df5d3397c5c9354409d21a8e207a061f2e6efc2
Add setLength(long) to DirCacheEntry

Applications should favor the long style interface, especially when
their source input is a long type, e.g. coming from java.io.File.
This way when the index format is later changed to support a
larger file size than 2 GiB we can handle it by just changing the
entry code, and not need to fix a lot of applications.

Change-Id: I332563caeb110014e2d544dc33050ce67ae9e897
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java