diff options
author | James Moger <james.moger@gitblit.com> | 2014-05-15 08:10:53 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-05-15 08:10:53 -0400 |
commit | c58ecd545d07f42701fafc79eeb6322a3379bb09 (patch) | |
tree | 5ebb8693ecf843e44b5ba20a904fa0b59612a0c3 | |
parent | 9e7b14b651cf3812718d33665529de919c05795d (diff) | |
download | gitblit-c58ecd545d07f42701fafc79eeb6322a3379bb09.tar.gz gitblit-c58ecd545d07f42701fafc79eeb6322a3379bb09.zip |
Prohibit ticket updates for empty repositories
-rw-r--r-- | src/main/java/com/gitblit/tickets/ITicketService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/tickets/ITicketService.java b/src/main/java/com/gitblit/tickets/ITicketService.java index a6a7a75a..668d0bcc 100644 --- a/src/main/java/com/gitblit/tickets/ITicketService.java +++ b/src/main/java/com/gitblit/tickets/ITicketService.java @@ -251,6 +251,7 @@ public abstract class ITicketService { */ public boolean isAcceptingTicketUpdates(RepositoryModel repository) { return isReady() + && repository.hasCommits && repository.isBare && !repository.isFrozen && !repository.isMirror; |