]> source.dussan.org Git - jgit.git/commit
Add support for smudge filters 19/59319/16
authorChristian Halstrick <christian.halstrick@sap.com>
Thu, 29 Oct 2015 13:15:08 +0000 (14:15 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 27 Nov 2015 22:33:53 +0000 (23:33 +0100)
commitbd31555ee507cd29a11060756297031354b9b0c3
tree86a470d86a114f236e615b8d34b6f52be38ecc13
parent5d9f595eb87fba31c2253051102116fc7876e6c0
Add support for smudge filters

If defined in .gitattributes call smudge filter during checkout.

To support checkout where current HEAD,index do not contain attributes
we need to also consider attributes from the tree we checkout. Therefore
CanonicalTreeParser has to learn how to provide attributes.

Change-Id: I168fdb81a8e1a9f991587b3e95a36550ea845f0a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CheckoutCommandTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/DirCacheCheckoutTest.java
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java