WorkingTreeIterator: Fix warnings about variable hiding
Change-Id: I78ed3ae7aa30a7e7f146d0bd2e9feff74554da78 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
6ea21b454c
commit
e8c69fa5fd
|
@ -1485,10 +1485,10 @@ private boolean isDirectoryIgnored(String pathRel, String pathAbs)
|
|||
return true;
|
||||
}
|
||||
|
||||
final IgnoreNode ignoreNode = getIgnoreNode();
|
||||
for (String path = pathRel; ignoreNode != null
|
||||
&& !"".equals(path); path = getParentPath(path)) { //$NON-NLS-1$
|
||||
ignored = ignoreNode.checkIgnored(path, true);
|
||||
final IgnoreNode node = getIgnoreNode();
|
||||
for (String p = pathRel; node != null
|
||||
&& !"".equals(p); p = getParentPath(p)) { //$NON-NLS-1$
|
||||
ignored = node.checkIgnored(p, true);
|
||||
if (ignored != null) {
|
||||
state.directoryToIgnored.put(pathAbs, ignored);
|
||||
return ignored;
|
||||
|
|
Loading…
Reference in New Issue