Fix inifinite recursion in RefControl.isOwner
I accidentally inverted the logic when I changed this line. Shame on me. Change-Id: I6d8225fbfb663074f8a5d7c4e90e72b47eff066c Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -106,7 +106,7 @@ public class RefControl {
|
||||
// calls us to find out if there is ownership of all references in
|
||||
// order to determine project level ownership.
|
||||
//
|
||||
if (getRefName().equals(
|
||||
if (!getRefName().equals(
|
||||
RefRight.ALL.substring(0, RefRight.ALL.length() - 1))
|
||||
&& getProjectControl().isOwner()) {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user