diff options
author | James Moger <james.moger@gitblit.com> | 2014-03-03 22:23:13 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-03-03 22:23:13 -0500 |
commit | 68afe82333c8ffaceeb85e410a0eb7bd7e55e804 (patch) | |
tree | 025f6cc73baada05b2a305040a7577c7cc63c68b /src/main/java/com/gitblit/utils | |
parent | 9e55e72cd7f2df2acb6178318dec5afa346ec34c (diff) | |
download | gitblit-68afe82333c8ffaceeb85e410a0eb7bd7e55e804.tar.gz gitblit-68afe82333c8ffaceeb85e410a0eb7bd7e55e804.zip |
Fix reflog parsing bug of null compare links on branch creation
Diffstat (limited to 'src/main/java/com/gitblit/utils')
-rw-r--r-- | src/main/java/com/gitblit/utils/RefLogUtils.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/utils/RefLogUtils.java b/src/main/java/com/gitblit/utils/RefLogUtils.java index 4c082d05..a87579ff 100644 --- a/src/main/java/com/gitblit/utils/RefLogUtils.java +++ b/src/main/java/com/gitblit/utils/RefLogUtils.java @@ -478,8 +478,6 @@ public class RefLogUtils { 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(" "); |