Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] JGit iterate all files of a commit

On Fri, Nov 22, 2013 at 3:19 PM, Philipp Marx <smigfu@xxxxxxxxxxxxxx> wrote:
Ah, ok I see. I think my problem is that I setRecursive to true which will cause the TreeWalk to automatically advance to the next file object if it hits a tree. Thanks.

use a PathFilter on the TreeWalk if you are only interested in some paths


Back to the top