James Moger
2014-03-03 68afe82333c8ffaceeb85e410a0eb7bd7e55e804
Fix reflog parsing bug of null compare links on branch creation
1 files modified
2 ■■■■■ changed files
src/main/java/com/gitblit/utils/RefLogUtils.java 2 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/utils/RefLogUtils.java
@@ -478,8 +478,6 @@
                case DELETE:
                    log.updateRef(change.path, ReceiveCommand.Type.DELETE);
                    break;
                case ADD:
                    log.updateRef(change.path, ReceiveCommand.Type.CREATE);
                default:
                    String content = JGitUtils.getStringContent(repository, push.getTree(), change.path);
                    String [] fields = content.split(" ");