diff options
author | Arthur Daussy <arthur.daussy@obeo.fr> | 2014-10-31 17:46:36 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2015-11-18 00:28:45 +0100 |
commit | 12280c02dbb8e4ac10893fbbd415be757afab4c1 (patch) | |
tree | 65724c985ead6d5e7c668ceeb30f6d2d61e29d45 /org.eclipse.jgit/src/org/eclipse/jgit/treewalk/NameConflictTreeWalk.java | |
parent | 2f6959d9f31faadcc50b5b0ded25f5e5a11befa4 (diff) | |
download | jgit-12280c02dbb8e4ac10893fbbd415be757afab4c1.tar.gz jgit-12280c02dbb8e4ac10893fbbd415be757afab4c1.zip |
Adds the git attributes computation on the treewalk
Adds the getAttributes feature to the tree walk. The computation of
attributes needs to be done by the TreeWalk since it needs both a
WorkingTreeIterator and a DirCacheIterator.
Bug: 342372
CQ: 9120
Change-Id: I5e33257fd8c9895869a128bad3fd1e720409d361
Signed-off-by: Arthur Daussy <arthur.daussy@obeo.fr>
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/treewalk/NameConflictTreeWalk.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/treewalk/NameConflictTreeWalk.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/NameConflictTreeWalk.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/NameConflictTreeWalk.java index 2d6acbddf0..350f563964 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/NameConflictTreeWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/NameConflictTreeWalk.java @@ -96,7 +96,7 @@ public class NameConflictTreeWalk extends TreeWalk { * the repository the walker will obtain data from. */ public NameConflictTreeWalk(final Repository repo) { - this(repo.newObjectReader()); + super(repo); } /** |