Allow the new DirCacheIterator in command line arguments
commit42b35ba9e2b781584e59358d1185621e3b4e3ba7
authorShawn O. Pearce <spearce@spearce.org>
Tue, 12 Aug 2008 01:08:07 +0000 (11 18:08 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 14 Aug 2008 17:33:20 +0000 (14 19:33 +0200)
tree9ac65429ba6d5ee400d0fabcdfb485e435efb91c
parent3f98b35e12cfab6a610b21b635885f7c14cb0df3
Allow the new DirCacheIterator in command line arguments

By assuming files passed where we want an AbtractTreeIterator to
be supplied are actually 'DIRC' files (aka .git/index) we can
automatically load them for the command line tool.

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