Package com.google.gerrit.server.git
@CheckReturnValue
package com.google.gerrit.server.git
-
ClassDescriptionLogic for banning commits from being uploaded.The outcome of the
BanCommit
operation.Allows to modify the commit message for new commits generated by Rebase Always submit strategy.Formatter for git command-line progress messages.Lightweight cache of changes in each project.Extended commit entity with code review specific metadata.Static utilities for working withRevCommit
s.Default formatter for change descriptions for use in git command-line progress.Wrapper class so a Runnable can schedule itself onto the Gerrit Workqueue.Wrapper aroundRefDatabase
that delegates all calls to the wrappedRepository
'sRefDatabase
.Wrapper aroundRepository
that delegates all calls to the wrappedRepository
.A FileRepository with a dynamic RefDatabase supplied via a BiFunction.Serial execution of GC on a list of repositories.A thread-safe list of projects scheduled for GC.Runnable to enable scheduling gc to run periodicallyConfigures the Git support.Manages Git repositories for the Gerrit server process.Status of the repository.Module to installMultiBaseLocalDiskRepositoryManager
rather thanLocalDiskRepositoryManager
if needed.Helper for assigning groups to commits duringReceiveCommits
.Static utilities for writing git protocol hooks.Wrapper forLargeObjectException
.Manages Git repositories stored on the local filesystem.Operation to close a change on push.Class describing a merge tip during merge operation.Utility methods used during the merge process.RepositoryManager that looks up repos stored across directories.Progress reporting interface that multiplexes multiple sub-tasks.A utility class for updating a notes branch with automatic merge of note trees.Wrapper aroundDelegateRefDatabase
that filters all refs usingPermissionBackend
.Wrapper aroundDelegateRepository
that overwritesPermissionAwareRepository.getRefDatabase()
to return aPermissionAwareReadOnlyRefDatabase
.Wraps and unwraps existing repositories and makes them permission-aware by returning aPermissionAwareReadOnlyRefDatabase
.Helper to call plugins that want to change the commit message before a change is merged.Used to retrieve the project name from an operation *Computes and caches if a change is a pure revert of another change.Simple short-lived cache of individual refs read from a repo.RefCache
backed directly by a repository.This exception is thrown if a project cannot be created because a project with the same name in a different case already exists.Thrown when trying to create a repository that exist.Cache based on an index query of the most recent changes.Git hook for ls-refs and fetch that enables Gerrit request tracing if the user sets the 'trace' server option.Advertisesrefs/users/self
for authenticated users when interacting with theAll-Users
repository.Indicates a problem with Git based data.Delayed execution of tasks using a background thread pool.Runnable needing to know it was canceled.Base interface handles the case when task was canceled before actual execution and in case it was started cancel method is not called yet the task itself will be destroyed anyway (it will result in resource opening errors).Same as Task class, but with a reference to ProjectRunnable, used to retrieve the project name from the operation queuedA wrapper around a scheduled Runnable, as maintained in the queue.Summarized status of a single task.To register a TaskListener, which will be called directly before Tasks run, and directly after they complete, bind the TaskListener like this: