| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| public static enum | TransferConfig.
A git configuration value for how to handle a fsck failure of a particular kind. |
| public static enum | TransferConfig.
A git configuration variable for which versions of the Git protocol to prefer. |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private static final String | |
| private final String | |
| pack-priv final String[] | |
| private final EnumSet | |
| public static final Config. | KEY
Key for |
| pack-priv final TransferConfig. | |
| private final boolean | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | TransferConfig(Repository
the repository to read settings from. The repository is not
retained by the new configuration, instead its settings are
copied during the constructor. db)Create a configuration honoring the repository's settings. |
| public | TransferConfig(Config
the source to read settings from. The source is not retained
by the new configuration, instead its settings are copied
during the constructor. rc)Create a configuration honoring settings in a
|
| Modifier and Type | Method and Description |
|---|---|
| public RefFilter | Returns: org. respecting
configured hidden refs.Get |
| pack-priv boolean | Returns: true if no ref filtering is needed because there
are no configured hidden refs.Like |
| public boolean | Returns: true to advertise object-info to all clientsWhether to advertise object-info to all clients |
| public boolean | Returns: true to advertise sideband all to the clientsWhether to advertise sideband all to the clients |
| public boolean | Returns: true to advertise wait-for-done all to the clientsWhether to advertise wait-for-done all to the clients |
| public boolean | Returns: allow clients to request any SHA-1s?Whether to allow clients to request any SHA-1s |
| public boolean | Returns: true if clients are allowed to specify a "filter" lineWhether clients are allowed to specify "filter" line |
| public boolean | Returns: allow clients to request non-tip SHA-1s?Whether to allow clients to request non-tip SHA-1s |
| public boolean | Returns: true to advertise and receive session-id capabilityWhether to advertise and receive session-id capability |
| public boolean | Returns: true if clients are allowed to specify a "want-ref" lineWhether clients are allowed to specify "want-ref" line |
| public boolean | Returns: true if the server accepts sideband-all requests (see {isAdvertiseSidebandAll() for the advertisement)Whether the server accepts sideband-all requests |
| public boolean | Returns: allow clients to request non-advertised tip SHA-1s?Whether to allow clients to request non-advertised tip SHA-1s |
| public ObjectChecker | Returns: checker to verify fetched objects, or null if checking is not enabled in the repository configuration.Create checker to verify fetched objects |
| private ObjectChecker | |
| public ObjectChecker | Returns: checker to verify objects pushed into this repository, or null if checking is not enabled in the repository configuration.Create checker to verify objects pushed into this repository |
| private ObjectIdSet |
| advertiseObjectInfo | back to summary |
|---|---|
| private final boolean advertiseObjectInfo | |
| advertiseSidebandAll | back to summary |
|---|---|
| private final boolean advertiseSidebandAll | |
| advertiseWaitForDone | back to summary |
|---|---|
| private final boolean advertiseWaitForDone | |
| allowAnySha1InWant | back to summary |
|---|---|
| private final boolean allowAnySha1InWant | |
| allowFilter | back to summary |
|---|---|
| private final boolean allowFilter | |
| allowInvalidPersonIdent | back to summary |
|---|---|
| private final boolean allowInvalidPersonIdent | |
| allowReachableSha1InWant | back to summary |
|---|---|
| private final boolean allowReachableSha1InWant | |
| allowReceiveClientSID | back to summary |
|---|---|
| private final boolean allowReceiveClientSID | |
| allowRefInWant | back to summary |
|---|---|
| private final boolean allowRefInWant | |
| allowSidebandAll | back to summary |
|---|---|
| private final boolean allowSidebandAll | |
| allowTipSha1InWant | back to summary |
|---|---|
| private final boolean allowTipSha1InWant | |
| fetchFsck | back to summary |
|---|---|
| private final boolean fetchFsck | |
| FSCK | back to summary |
|---|---|
| private static final String FSCK | |
| fsckSkipList | back to summary |
|---|---|
| private final String fsckSkipList | |
| hideRefs | back to summary |
|---|---|
| pack-priv final String[] hideRefs | |
| ignore | back to summary |
|---|---|
| private final EnumSet<ObjectChecker. | |
| KEY | back to summary |
|---|---|
| public static final Config. Key for | |
| protocolVersion | back to summary |
|---|---|
| pack-priv final TransferConfig. | |
| receiveFsck | back to summary |
|---|---|
| private final boolean receiveFsck | |
| safeForMacOS | back to summary |
|---|---|
| private final boolean safeForMacOS | |
| safeForWindows | back to summary |
|---|---|
| private final boolean safeForWindows | |
| TransferConfig | back to summary |
|---|---|
| public TransferConfig(Repository db) Create a configuration honoring the repository's settings.
| |
| TransferConfig | back to summary |
|---|---|
| public TransferConfig(Config rc) Create a configuration honoring settings in a
| |
| getRefFilter | back to summary |
|---|---|
| public RefFilter getRefFilter() Get
| |
| hasDefaultRefFilter | back to summary |
|---|---|
| pack-priv boolean hasDefaultRefFilter() Like
| |
| isAdvertiseObjectInfo | back to summary |
|---|---|
| public boolean isAdvertiseObjectInfo() Whether to advertise object-info to all clients
| |
| isAdvertiseSidebandAll | back to summary |
|---|---|
| public boolean isAdvertiseSidebandAll() Whether to advertise sideband all to the clients
| |
| isAdvertiseWaitForDone | back to summary |
|---|---|
| public boolean isAdvertiseWaitForDone() Whether to advertise wait-for-done all to the clients
| |
| isAllowAnySha1InWant | back to summary |
|---|---|
| public boolean isAllowAnySha1InWant() Whether to allow clients to request any SHA-1s
| |
| isAllowFilter | back to summary |
|---|---|
| public boolean isAllowFilter() Whether clients are allowed to specify "filter" line
| |
| isAllowReachableSha1InWant | back to summary |
|---|---|
| public boolean isAllowReachableSha1InWant() Whether to allow clients to request non-tip SHA-1s
| |
| isAllowReceiveClientSID | back to summary |
|---|---|
| public boolean isAllowReceiveClientSID() Whether to advertise and receive session-id capability
| |
| isAllowRefInWant | back to summary |
|---|---|
| public boolean isAllowRefInWant() Whether clients are allowed to specify "want-ref" line
| |
| isAllowSidebandAll | back to summary |
|---|---|
| public boolean isAllowSidebandAll() Whether the server accepts sideband-all requests
| |
| isAllowTipSha1InWant | back to summary |
|---|---|
| public boolean isAllowTipSha1InWant() Whether to allow clients to request non-advertised tip SHA-1s
| |
| newObjectChecker | back to summary |
|---|---|
| public ObjectChecker newObjectChecker() Create checker to verify fetched objects
| |
| newObjectChecker | back to summary |
|---|---|
| private ObjectChecker newObjectChecker(boolean check) | |
| newReceiveObjectChecker | back to summary |
|---|---|
| public ObjectChecker newReceiveObjectChecker() Create checker to verify objects pushed into this repository
| |
| skipList | back to summary |
|---|---|
| private ObjectIdSet skipList() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| pack-priv static ObjectChecker. |
| errors | back to summary |
|---|---|
| private static final Map<String, ObjectChecker. | |
| FsckKeyNameHolder | back to summary |
|---|---|
| private FsckKeyNameHolder() | |
| keyNameFor | back to summary |
|---|---|
| private static String keyNameFor(String name) | |
| parse | back to summary |
|---|---|
pack-priv static ObjectChecker.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final TransferConfig. | ERROR
Treat it as an error (the default). |
| public static final TransferConfig. | IGNORE
Ignore the error. |
| public static final TransferConfig. | WARN
Issue a warning (in fact, jgit treats this like IGNORE, but git itself does warn). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TransferConfig. | |
| public static TransferConfig. |
| ERROR | back to summary |
|---|---|
| public static final TransferConfig. Treat it as an error (the default). | |
| IGNORE | back to summary |
|---|---|
| public static final TransferConfig. Ignore the error. | |
| WARN | back to summary |
|---|---|
| public static final TransferConfig. Issue a warning (in fact, jgit treats this like IGNORE, but git itself does warn). | |
| FsckMode | back to summary |
|---|---|
| private FsckMode() | |
| valueOf | back to summary |
|---|---|
| public static TransferConfig. | |
| values | back to summary |
|---|---|
| public static TransferConfig. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | name
Hides java. |
| public static final TransferConfig. | V0
Git wire protocol version 0 (the default). |
| public static final TransferConfig. | V2
Git wire protocol version 2. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static TransferConfig. | |
| public static TransferConfig. | |
| public static TransferConfig. | |
| public String |
| name | back to summary |
|---|---|
| pack-priv final String name Hides java. | |
| V0 | back to summary |
|---|---|
| public static final TransferConfig. Git wire protocol version 0 (the default). | |
| V2 | back to summary |
|---|---|
| public static final TransferConfig. Git wire protocol version 2. | |
| ProtocolVersion | back to summary |
|---|---|
| private ProtocolVersion(String name) | |
| parse | back to summary |
|---|---|
pack-priv static TransferConfig.
| |
| valueOf | back to summary |
|---|---|
| public static TransferConfig. | |
| values | back to summary |
|---|---|
| public static TransferConfig. | |
| version | back to summary |
|---|---|
| public String version() Returns version number
| |