]> source.dussan.org Git - jgit.git/commit
Add basic support for .gitattributes 14/1614/24
authorArthur Daussy <arthur.daussy@obeo.fr>
Thu, 31 Jan 2013 19:27:10 +0000 (20:27 +0100)
committerChris Aniszczyk <caniszczyk@gmail.com>
Wed, 7 Jan 2015 18:52:06 +0000 (10:52 -0800)
commitc185484dcfb52aaae818bc111824f1a31ec0f806
treea4688bfa9f6731109852c700fec422519a1d8e8d
parent428d31efd305b08e83dbd9fdd895d18dc232c295
Add basic support for .gitattributes

Core classes to parse and process .gitattributes files including
support for reading attributes in WorkingTreeIterator and the
dirCacheIterator.

The implementation follows the git ignore implementation. It supports
lazy reading attributes while walking the working tree.

Bug: 342372
CQ: 9078
Change-Id: I05f3ce1861fbf9896b1bcb7816ba78af35f3ad3d
Also-by: Marc Strapetz <marc.strapetz@syntevo.com>
Also-by: Gunnar Wagenknecht <gunnar@wagenknecht.org>
Also-by: Arthur Daussy <arthur.daussy@obeo.fr>
Signed-off-by: Gunnar Wagenknecht <gunnar@wagenknecht.org>
Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
Signed-off-by: Arthur Daussy <arthur.daussy@obeo.fr>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
18 files changed:
org.eclipse.jgit.test/META-INF/MANIFEST.MF
org.eclipse.jgit.test/tst/org/eclipse/jgit/attributes/AttributeNodeTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/attributes/AttributeTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/attributes/AttributesMatcherTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/attributes/AttributesNodeDirCacheIteratorTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/attributes/AttributesNodeWorkingTreeIteratorTest.java [new file with mode: 0644]
org.eclipse.jgit/META-INF/MANIFEST.MF
org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/attributes/AttributesNode.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/attributes/AttributesRule.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/attributes/package-info.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheIterator.java
org.eclipse.jgit/src/org/eclipse/jgit/ignore/FastIgnoreRule.java
org.eclipse.jgit/src/org/eclipse/jgit/ignore/internal/IMatcher.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/CoreConfig.java
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java