Package org.eclipse.jgit.transport
Class GitProtocolConstants
java.lang.Object
org.eclipse.jgit.transport.GitProtocolConstants
Wire constants for the native Git protocol.
- Since:
- 3.2
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The client supports atomic pushes.static final String
The server supports deleting refs.static final String
The server supports packs with OFS deltas.static final String
The server allows recording of push certificates.static final String
The server supports the receiving of push options.static final String
The client expects less noise, e.g.static final String
The server supports the client specifying ref names.static final String
The client expects a status report after the server processes the pack.static final String
The server supports arbitrary optionsstatic final String
The client supports using the 64K side-band for progress messages.static final String
The server supports fetch using protocol v2.static final String
The server supports listing refs using protocol v2.static final String
Implementation name and version of the client or server.static final String
The client supports fetching objects that are reachable from a tip of a ref that is allowed to fetch.static final String
The client supports fetching objects at the tip of any ref, even if not advertised.static final String
The client wants the "deepen" command to be interpreted as relative to the client's shallow commits.static final String
The client specified a filter expression.static final String
Include tags if we are also including the referenced objects.static final String
Multi-ACK support for improved negotiation.static final String
Multi-ACK detailed support for improved negotiation.static final String
The client supports receiving a pack before it has sent "done".static final String
The client does not want progress messages and will ignore them.static final String
The client supports packs with OFS deltas.static final String
The client will send a push certificate.static final String
Option for passing application-specific options to the server.static final String
The client supports shallow fetches.static final String
The client supports using the side-band for progress messages.static final String
The client supports using the 64K side-band for progress messages.static final String
The client requested that the whole response be multiplexed, with each non-flush and non-delim pkt prefixed by a sideband designator.static final String
Symbolic reference support for better negotiation.static final String
The client supports packs with deltas but not their bases.static final String
The client specified a want-ref expression.static final String
Environment variable to set by clients to request a specific git protocol in the file:// and ssh:// transports.static final String
HTTP header to set by clients to request a specific git protocol version in the HTTP transport.static final String
Protocol V2 ref advertisement attribute containing the peeled object id for annotated tags.static final String
Protocol V2 ref advertisement attribute containing the name of the ref for symbolic refs.static final String
Protocol V2 acknowledgments section header.static final String
Protocol V2 packfile section header.static final String
Protocol announcement for protocol version 1.static final String
Protocol announcement for protocol version 2.static final String
Protocol request for protocol version 2. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
OPTION_INCLUDE_TAG
Include tags if we are also including the referenced objects.- Since:
- 3.2
- See Also:
-
OPTION_MULTI_ACK
Multi-ACK support for improved negotiation.- Since:
- 3.2
- See Also:
-
OPTION_MULTI_ACK_DETAILED
Multi-ACK detailed support for improved negotiation.- Since:
- 3.2
- See Also:
-
OPTION_THIN_PACK
The client supports packs with deltas but not their bases.- Since:
- 3.2
- See Also:
-
OPTION_SIDE_BAND
The client supports using the side-band for progress messages.- Since:
- 3.2
- See Also:
-
OPTION_SIDE_BAND_64K
The client supports using the 64K side-band for progress messages.- Since:
- 3.2
- See Also:
-
OPTION_OFS_DELTA
The client supports packs with OFS deltas.- Since:
- 3.2
- See Also:
-
OPTION_SHALLOW
The client supports shallow fetches.- Since:
- 3.2
- See Also:
-
OPTION_DEEPEN_RELATIVE
The client wants the "deepen" command to be interpreted as relative to the client's shallow commits.- Since:
- 5.0
- See Also:
-
OPTION_NO_PROGRESS
The client does not want progress messages and will ignore them.- Since:
- 3.2
- See Also:
-
OPTION_NO_DONE
The client supports receiving a pack before it has sent "done".- Since:
- 3.2
- See Also:
-
OPTION_ALLOW_TIP_SHA1_IN_WANT
The client supports fetching objects at the tip of any ref, even if not advertised.- Since:
- 3.2
- See Also:
-
OPTION_ALLOW_REACHABLE_SHA1_IN_WANT
The client supports fetching objects that are reachable from a tip of a ref that is allowed to fetch.- Since:
- 4.1
- See Also:
-
OPTION_SYMREF
Symbolic reference support for better negotiation.- Since:
- 3.6
- See Also:
-
OPTION_PUSH_CERT
The client will send a push certificate.- Since:
- 4.0
- See Also:
-
OPTION_FILTER
The client specified a filter expression.- Since:
- 5.0
- See Also:
-
OPTION_WANT_REF
The client specified a want-ref expression.- Since:
- 5.1
- See Also:
-
OPTION_SIDEBAND_ALL
The client requested that the whole response be multiplexed, with each non-flush and non-delim pkt prefixed by a sideband designator.- Since:
- 5.5
- See Also:
-
CAPABILITY_ATOMIC
The client supports atomic pushes. If this option is used, the server will update all refs within one atomic transaction.- Since:
- 3.6
- See Also:
-
CAPABILITY_QUIET
The client expects less noise, e.g. no progress.- Since:
- 4.0
- See Also:
-
CAPABILITY_REPORT_STATUS
The client expects a status report after the server processes the pack.- Since:
- 3.2
- See Also:
-
CAPABILITY_DELETE_REFS
The server supports deleting refs.- Since:
- 3.2
- See Also:
-
CAPABILITY_OFS_DELTA
The server supports packs with OFS deltas.- Since:
- 3.2
- See Also:
-
CAPABILITY_SIDE_BAND_64K
The client supports using the 64K side-band for progress messages.- Since:
- 3.2
- See Also:
-
CAPABILITY_PUSH_CERT
The server allows recording of push certificates.- Since:
- 4.0
- See Also:
-
OPTION_AGENT
Implementation name and version of the client or server.- Since:
- 4.0
- See Also:
-
CAPABILITY_PUSH_OPTIONS
The server supports the receiving of push options.- Since:
- 4.5
- See Also:
-
CAPABILITY_REF_IN_WANT
The server supports the client specifying ref names.- Since:
- 5.1
- See Also:
-
CAPABILITY_SERVER_OPTION
The server supports arbitrary options- Since:
- 5.2
- See Also:
-
OPTION_SERVER_OPTION
Option for passing application-specific options to the server.- Since:
- 5.2
- See Also:
-
COMMAND_LS_REFS
The server supports listing refs using protocol v2.- Since:
- 5.0
- See Also:
-
COMMAND_FETCH
The server supports fetch using protocol v2.- Since:
- 5.0
- See Also:
-
PROTOCOL_HEADER
HTTP header to set by clients to request a specific git protocol version in the HTTP transport.- Since:
- 5.11
- See Also:
-
PROTOCOL_ENVIRONMENT_VARIABLE
Environment variable to set by clients to request a specific git protocol in the file:// and ssh:// transports.- Since:
- 5.11
- See Also:
-
REF_ATTR_PEELED
Protocol V2 ref advertisement attribute containing the peeled object id for annotated tags.- Since:
- 5.11
- See Also:
-
REF_ATTR_SYMREF_TARGET
Protocol V2 ref advertisement attribute containing the name of the ref for symbolic refs.- Since:
- 5.11
- See Also:
-
SECTION_ACKNOWLEDGMENTS
Protocol V2 acknowledgments section header.- Since:
- 5.11
- See Also:
-
SECTION_PACKFILE
Protocol V2 packfile section header.- Since:
- 5.11
- See Also:
-
VERSION_1
Protocol announcement for protocol version 1. This is the same as V0, except for this initial line.- Since:
- 5.11
- See Also:
-
VERSION_2
Protocol announcement for protocol version 2.- Since:
- 5.11
- See Also:
-
VERSION_2_REQUEST
Protocol request for protocol version 2.- Since:
- 5.11
- See Also:
-
-
Constructor Details
-
GitProtocolConstants
private GitProtocolConstants()
-