Change hidden scope of the git dispatcher and the upload & receive commands
| | |
| | | import com.gitblit.transport.ssh.commands.DispatchCommand; |
| | | import com.gitblit.transport.ssh.commands.SshCommandContext; |
| | | |
| | | @CommandMetaData(name = "git", description="Dispatcher for git receive and upload commands", hidden = true) |
| | | @CommandMetaData(name = "git", description="Git commands") |
| | | public class GitDispatcher extends DispatchCommand { |
| | | |
| | | protected RepositoryResolver<SshDaemonClient> repositoryResolver; |
| | |
| | | |
| | | import com.gitblit.transport.ssh.commands.CommandMetaData; |
| | | |
| | | @CommandMetaData(name = "git-receive-pack", description = "Receives pushes from a client") |
| | | @CommandMetaData(name = "git-receive-pack", description = "Receives pushes from a client", hidden = true) |
| | | public class Receive extends BaseGitCommand { |
| | | @Override |
| | | protected void runImpl() throws Failure { |
| | |
| | | |
| | | import com.gitblit.transport.ssh.commands.CommandMetaData; |
| | | |
| | | @CommandMetaData(name = "git-upload-pack", description = "Sends packs to a client for clone and fetch") |
| | | @CommandMetaData(name = "git-upload-pack", description = "Sends packs to a client for clone and fetch", hidden = true) |
| | | public class Upload extends BaseGitCommand { |
| | | @Override |
| | | protected void runImpl() throws Failure { |