Merge "Fix possible NPE in LsUserRefs"
This commit is contained in:
commit
0958064aa0
@ -109,7 +109,9 @@ public class LsUserRefs extends SshCommand {
|
|||||||
throw new UnloggedFailure("fatal: Error opening: '"
|
throw new UnloggedFailure("fatal: Error opening: '"
|
||||||
+ projectControl.getProject().getNameKey());
|
+ projectControl.getProject().getNameKey());
|
||||||
} finally {
|
} finally {
|
||||||
repo.close();
|
if (repo != null) {
|
||||||
|
repo.close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user