ListTags: Set the can_delete field

Change-Id: I3cfd21d7726bdaaab741c646de8c93d5805b0d9f
This commit is contained in:
David Pursehouse
2017-02-23 13:43:57 +09:00
parent 061573f135
commit 23669dac55
6 changed files with 30 additions and 12 deletions

View File

@@ -134,7 +134,7 @@ public class CreateTag implements RestModifyView<ProjectResource, TagInput> {
result.getObjectId(),
identifiedUser.get().getAccount());
try (RevWalk w = new RevWalk(repo)) {
return ListTags.createTagInfo(result, w);
return ListTags.createTagInfo(result, w, refControl);
}
}
} catch (InvalidRevisionException e) {