[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jgit-dev] Creating the equivalent of "git diff"
- From: Dave Borowitz <dborowitz@xxxxxxxxxx>
- Date: Mon, 15 Sep 2014 11:50:34 -0700
- Delivered-to: email@example.com
If you look at the implementation of DiffFilter#getDiffTreeFilterFor, it looks like you need to pass it a WorkingTreeIterator to get it to use a NotIgnoredFilter.
I suppose if you must use a DirCacheIterator it's a missing feature to read .gitignore from the index.