Teach FileMode about S_IFGITLINK being 0160000
commitdc04dd3788df5f092ac734f712be8439478a33b1
authorShawn O. Pearce <spearce@spearce.org>
Tue, 11 Mar 2008 01:07:30 +0000 (10 21:07 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 7 Apr 2008 03:40:41 +0000 (6 23:40 -0400)
tree9a0b274e6d02add794fe96e20b447958a964a49e
parent1bf217443f96cfe9c01207d5cee11c1b6d47c11c
Teach FileMode about S_IFGITLINK being 0160000

C Git understands this type of tree entry to be a commit inside of
another Git repository other than the one that contains this tree.

We currently don't support such an idea in jgit but we might as
well provide the enumerated value so support can grow in the future.
The value has been reserved, is in the wild, and people are building
production repositories with it.  We will have to honor this at
some point in the future no matter what happens.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/FileMode.java