Package org.eclipse.jgit.transport
Class GitProtocolConstants
- java.lang.Object
-
- org.eclipse.jgit.transport.GitProtocolConstants
-
public class GitProtocolConstants extends Object
Wire constants for the native Git protocol.- Since:
- 3.2
-
-
Field Summary
Fields Modifier and Type Field Description static StringCAPABILITY_ATOMICThe client supports atomic pushes.static StringCAPABILITY_DELETE_REFSThe server supports deleting refs.static StringCAPABILITY_OFS_DELTAThe server supports packs with OFS deltas.static StringCAPABILITY_REPORT_STATUSThe client expects a status report after the server processes the pack.static StringCAPABILITY_SIDE_BAND_64KThe client supports using the 64K side-band for progress messages.static StringOPTION_ALLOW_TIP_SHA1_IN_WANTThe client supports fetching objects at the tip of any ref, even if not advertised.static StringOPTION_INCLUDE_TAGInclude tags if we are also including the referenced objects.static StringOPTION_MULTI_ACKMutli-ACK support for improved negotiation.static StringOPTION_MULTI_ACK_DETAILEDMutli-ACK detailed support for improved negotiation.static StringOPTION_NO_DONEThe client supports receiving a pack before it has sent "done".static StringOPTION_NO_PROGRESSThe client does not want progress messages and will ignore them.static StringOPTION_OFS_DELTAThe client supports packs with OFS deltas.static StringOPTION_SHALLOWThe client supports shallow fetches.static StringOPTION_SIDE_BANDThe client supports using the side-band for progress messages.static StringOPTION_SIDE_BAND_64KThe client supports using the 64K side-band for progress messages.static StringOPTION_SYMREFSymbolic reference support for better negotiation.static StringOPTION_THIN_PACKThe client supports packs with deltas but not their bases.
-
-
-
Field Detail
-
OPTION_INCLUDE_TAG
public static final String OPTION_INCLUDE_TAG
Include tags if we are also including the referenced objects.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_MULTI_ACK
public static final String OPTION_MULTI_ACK
Mutli-ACK support for improved negotiation.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_MULTI_ACK_DETAILED
public static final String OPTION_MULTI_ACK_DETAILED
Mutli-ACK detailed support for improved negotiation.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_THIN_PACK
public static final String OPTION_THIN_PACK
The client supports packs with deltas but not their bases.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_SIDE_BAND
public static final String OPTION_SIDE_BAND
The client supports using the side-band for progress messages.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_SIDE_BAND_64K
public static final String OPTION_SIDE_BAND_64K
The client supports using the 64K side-band for progress messages.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_OFS_DELTA
public static final String OPTION_OFS_DELTA
The client supports packs with OFS deltas.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_SHALLOW
public static final String OPTION_SHALLOW
The client supports shallow fetches.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_NO_PROGRESS
public static final String OPTION_NO_PROGRESS
The client does not want progress messages and will ignore them.- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_NO_DONE
public static final String OPTION_NO_DONE
The client supports receiving a pack before it has sent "done".- Since:
- 3.2
- See Also:
- Constant Field Values
-
OPTION_ALLOW_TIP_SHA1_IN_WANT
public static final String 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:
- Constant Field Values
-
OPTION_SYMREF
public static final String OPTION_SYMREF
Symbolic reference support for better negotiation.- Since:
- 3.6
- See Also:
- Constant Field Values
-
CAPABILITY_ATOMIC
public static final String 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:
- Constant Field Values
-
CAPABILITY_REPORT_STATUS
public static final String CAPABILITY_REPORT_STATUS
The client expects a status report after the server processes the pack.- Since:
- 3.2
- See Also:
- Constant Field Values
-
CAPABILITY_DELETE_REFS
public static final String CAPABILITY_DELETE_REFS
The server supports deleting refs.- Since:
- 3.2
- See Also:
- Constant Field Values
-
CAPABILITY_OFS_DELTA
public static final String CAPABILITY_OFS_DELTA
The server supports packs with OFS deltas.- Since:
- 3.2
- See Also:
- Constant Field Values
-
CAPABILITY_SIDE_BAND_64K
public static final String CAPABILITY_SIDE_BAND_64K
The client supports using the 64K side-band for progress messages.- Since:
- 3.2
- See Also:
- Constant Field Values
-
-