commit ae09b5a9b01b6637e4cb78e0ba4b773d701538ef Author: Thomas Draebing Date: Wed Aug 12 15:25:52 2020 +0200 Register graceful shutdown for create branch command Change-Id: Ifefdb252c8698b0e62f6ff6735274039d94fd032 diff --git a/java/com/google/gerrit/sshd/commands/CreateBranchCommand.java b/java/com/google/gerrit/sshd/commands/CreateBranchCommand.java index aad96a1..a837ecd 100644 --- a/java/com/google/gerrit/sshd/commands/CreateBranchCommand.java +++ b/java/com/google/gerrit/sshd/commands/CreateBranchCommand.java @@ -44,6 +44,7 @@ public final class CreateBranchCommand extends SshCommand { @Override protected void run() throws UnloggedFailure { + enableGracefulStop(); try { BranchInput in = new BranchInput(); in.revision = revision;