From c8b26c51aa67fc9345b624e36aab6f819e7eed74 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sun, 25 Nov 2012 11:35:31 -0500 Subject: [PATCH] Gitblit Certificate Authority revisions. Eliminate certificate scripts. --- src/com/gitblit/models/PathModel.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/com/gitblit/models/PathModel.java b/src/com/gitblit/models/PathModel.java index 9bb7eb7..8692359 100644 --- a/src/com/gitblit/models/PathModel.java +++ b/src/com/gitblit/models/PathModel.java @@ -35,14 +35,16 @@ public final String path; public final long size; public final int mode; + public final String objectId; public final String commitId; public boolean isParentPath; - public PathModel(String name, String path, long size, int mode, String commitId) { + public PathModel(String name, String path, long size, int mode, String objectId, String commitId) { this.name = name; this.path = path; this.size = size; this.mode = mode; + this.objectId = objectId; this.commitId = commitId; } @@ -102,9 +104,9 @@ public final ChangeType changeType; - public PathChangeModel(String name, String path, long size, int mode, String commitId, - ChangeType type) { - super(name, path, size, mode, commitId); + public PathChangeModel(String name, String path, long size, int mode, String objectId, + String commitId, ChangeType type) { + super(name, path, size, mode, objectId, commitId); this.changeType = type; } -- Gitblit v1.9.1