src/main/java/com/gitblit/utils/JGitUtils.java | ●●●●● patch | view | raw | blame | history |
src/main/java/com/gitblit/utils/JGitUtils.java
@@ -2257,7 +2257,9 @@ } catch (IOException e) { LOGGER.error("Failed to determine canMerge", e); } finally { if (revWalk != null) { revWalk.release(); } } return MergeStatus.NOT_MERGEABLE; } @@ -2348,8 +2350,10 @@ } catch (IOException e) { LOGGER.error("Failed to merge", e); } finally { if (revWalk != null) { revWalk.release(); } } return new MergeResult(MergeStatus.FAILED, null); } }