]> source.dussan.org Git - jgit.git/commit
Remove gitIgnoreTimestamp from abstract iterator API 54/1154/1
authorShawn O. Pearce <spearce@spearce.org>
Tue, 20 Jul 2010 15:58:14 +0000 (08:58 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 20 Jul 2010 16:09:01 +0000 (09:09 -0700)
commitc59db09bc5c4c66338358c8a9b985ceced21e346
treec6cdf38bbd2984dc2efe87aa2034cc213e63ce83
parent395d2360582e2c11c9d4418f925860b5484d7a98
Remove gitIgnoreTimestamp from abstract iterator API

This never should have been exposed on the top of the
AbstractTreeIterator type hierarchy.  There is no concept of a
timestamp in a canonical tree read from the object database, and
the time in the DirCache isn't what we want here either.

Actually all that we need is to find the files whose names are
".gitignore" and are below the root directory.  We can accomplish
that with a suffix filter, and process them immediately.

Change-Id: Ib09cbf81a9e038452ce491385c65498312e2916b
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Charley Wang <chwang@redhat.com>
CC: Chris Aniszczyk <caniszczyk@gmail.com>
CC: Stefan Lay <stefan.lay@sap.com>
CC: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/ignore/SimpleIgnoreCache.java
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/FileTreeIterator.java