| Modifier and Type | Field and Description |
|---|---|
| public static final String | ATTR_BUILTIN_BINARY_MERGER
Binary value for custom merger. |
| public static final String | ATTR_BUILTIN_UNION_MERGE_DRIVER
Union built-in merge driver |
| public static final String | ATTR_DIFF
Diff attribute. |
| public static final String | ATTR_FILTER
Key for filters in .gitattributes |
| public static final String | ATTR_FILTER_TYPE_CLEAN
clean command name, used to call filter driver |
| public static final String | ATTR_FILTER_TYPE_SMUDGE
smudge command name, used to call filter driver |
| public static final String | ATTR_MERGE
Merge attribute. |
| public static final String | BUILTIN_FILTER_PREFIX
Builtin filter commands start with this prefix |
| public static final String | CHERRY_PICK_HEAD
name of the file containing the ID of a cherry pick commit in case of conflicts |
| public static final String | CMS_SIGNATURE_PREFIX
Prefix of a CMS signature (X.509, S/MIME). |
| public static final String | COMMIT_EDITMSG
Name of the file in which git commands and hooks store and read the message prepared for the upcoming commit. |
| public static final int | COMMIT_GENERATION_NOT_COMPUTED
If a commit-graph file was written by a version of Git that did not compute generation numbers, then those commits will have generation number represented by (). |
| public static final int | COMMIT_GENERATION_UNKNOWN
We use () as generation number for commits not in the commit-graph file. |
| public static final String | COMMONDIR_FILE
Name of the file (inside gitDir) that has reference to $GIT_COMMON_DIR. |
| public static final String | CONFIG
Default name for the Git repository configuration |
| public static final String | DEFAULT_REMOTE_NAME
Default remote name used by clone, push and fetch operations |
| public static final String | DOT_BUNDLE_EXT
The default extension for local bundle files |
| public static final String | DOT_GIT
Default name for the Git repository directory |
| public static final String | DOT_GIT_ATTRIBUTES
Name of the attributes file |
| public static final String | DOT_GIT_EXT
A bare repository typically ends with this string |
| public static final String | DOT_GIT_IGNORE
Name of the ignore file |
| public static final String | DOT_GIT_MODULES
Name of the submodules file |
| public static final ObjectId | EMPTY_BLOB_ID
Well-known object ID for the empty blob. |
| public static final ObjectId | EMPTY_TREE_ID
Well-known object ID for the empty tree. |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| public static final String | FETCH_HEAD
Special name for the "FETCH_HEAD" symbolic-ref. |
| public static final String | GIT_ALTERNATE_OBJECT_DIRECTORIES_KEY
The environment variable that tells us where to look for objects, besides the default objects directory. |
| public static final String | GIT_AUTHOR_EMAIL_KEY
The environment variable that contains the author's email |
| public static final String | GIT_AUTHOR_NAME_KEY
The environment variable that contains the author's name |
| public static final String | GIT_CEILING_DIRECTORIES_KEY
The environment variable that limits how close to the root of the file systems JGit will traverse when looking for a repository root. |
| public static final String | GIT_COMMITTER_EMAIL_KEY
The environment variable that contains the commiter's email |
| public static final String | GIT_COMMITTER_NAME_KEY
The environment variable that contains the commiter's name |
| public static final String | GIT_COMMON_DIR_KEY
The environment variable that tells us which directory is the common ".git" directory. |
| public static final String | GIT_CONFIG_NOSYSTEM_KEY
The environment variable that blocks use of the system config file |
| public static final String | GIT_DIR_KEY
The environment variable that tells us which directory is the ".git" directory |
| public static final String | GIT_INDEX_FILE_KEY
The environment variable that tells us which file holds the Git index. |
| public static final String | GIT_OBJECT_DIRECTORY_KEY
The environment variable that tells us where objects are stored |
| public static final String | GIT_WORK_TREE_KEY
The environment variable that tells us which directory is the working directory. |
| public static final String | GITDIR
Prefix of the first line in a ".git" file |
| public static final String | GITDIR_FILE
Name of the file (inside gitDir) that references the worktree's .git file (opposite link). |
| public static final String | GITIGNORE_FILENAME
A gitignore file name |
| public static final String | GPG_SIGNATURE_PREFIX
Prefix of a GPG signature. |
| private static final String | HASH_FUNCTION
Hash function used natively by Git for all objects. |
| public static final String | HEAD
Special name for the "HEAD" symbolic-ref. |
| public static final String | HEADS
Name of heads folder or file in refs. |
| public static final String | HOOKS
Name of the folder (inside gitDir) where the hooks are stored. |
| public static final int | INFINITE_DEPTH
Depth used to unshallow a repository |
| public static final String | INFO_ALTERNATES
Info alternates file (goes under OBJECTS) |
| public static final String | INFO_ATTRIBUTES
Attributes-override-file |
| public static final String | INFO_COMMIT_GRAPH
info commit-graph file (goes under OBJECTS) |
| public static final String | INFO_EXCLUDE
Excludes-file |
| public static final String | INFO_HTTP_ALTERNATES
HTTP alternates file (goes under OBJECTS) |
| public static final String | INFO_REFS
Info refs folder |
| public static final String | L_LOGS
Prefix for any log. |
| public static final String | LOCK_SUFFIX
Suffix of lock file name |
| public static final String | LOGS
Logs folder name |
| public static final String | MASTER
Default main branch name |
| public static final String | MERGE_HEAD
name of the file containing the IDs of the parents of a merge commit |
| public static final String | MERGE_MSG
name of the file containing the commit msg for a merge commit |
| public static final String | MODULES
Name of the folder (inside gitDir) where submodules are stored |
| public static final int | OBJ_BAD
An unknown or invalid object type code. |
| public static final int | OBJ_BLOB
In-pack object type: blob. |
| public static final int | OBJ_COMMIT
In-pack object type: commit. |
| public static final int | OBJ_EXT
In-pack object type: extended types. |
| public static final int | OBJ_OFS_DELTA
In-pack object type: offset delta Objects stored with this type actually have a different type which must be obtained from their delta base object. |
| public static final int | OBJ_REF_DELTA
In-pack object type: reference delta Objects stored with this type actually have a different type which must be obtained from their delta base object. |
| public static final int | OBJ_TAG
In-pack object type: annotated tag. |
| public static final int | OBJ_TREE
In-pack object type: tree. |
| public static final int | OBJ_TYPE_5
In-pack object type: reserved for future use. |
| public static final int | OBJECT_ID_ABBREV_STRING_LENGTH
The historic length of an abbreviated Git object hash string. |
| public static final int | OBJECT_ID_LENGTH
A Git object hash is 160 bits, i.e. 20 bytes. |
| public static final int | OBJECT_ID_STRING_LENGTH
A Git object can be expressed as a 40 character string of hexadecimal digits. |
| public static final String | OBJECTS
Objects folder name |
| public static final String | ORIG_HEAD
name of the ref ORIG_HEAD used by certain commands to store the original value of HEAD |
| public static final String | OS_USER_DIR
The system property that contains the system user name |
| public static final String | OS_USER_NAME_KEY
The system property that contains the system user name |
| public static final byte[] | PACK_SIGNATURE
Pack file signature that occurs at file header - identifies file as Git packfile formatted. |
| public static final String | PACKED_REFS
Packed refs file |
| public static final String | R_HEADS
Prefix for branch refs |
| public static final String | R_NOTES
Prefix for notes refs |
| public static final String | R_NOTES_COMMITS
Standard notes ref |
| public static final String | R_REFS
Prefix for any ref |
| public static final String | R_REMOTES
Prefix for remotes refs |
| public static final String | R_STASH
Standard stash ref |
| public static final String | R_TAGS
Prefix for tag refs |
| public static final String | REFTABLE
Reftable folder name |
| public static final String | REVERT_HEAD
name of the file containing the ID of a revert commit in case of conflicts |
| public static final String | SHALLOW
Name of the .git/shallow file |
| public static final String | SIGNED_OFF_BY_TAG
Beginning of the common "Signed-off-by: " commit message line |
| public static final String | SQUASH_MSG
name of the file containing the commit msg for a squash commit |
| public static final String | SSH_SIGNATURE_PREFIX
Prefix of an SSH signature. |
| public static final String | STASH
Default stash branch name |
| public static final String | TABLES_LIST
Reftable table list name. |
| public static final String | TYPE_BLOB
Text string that identifies an object as a blob. |
| public static final String | TYPE_COMMIT
Text string that identifies an object as a commit. |
| public static final String | TYPE_TAG
Text string that identifies an object as an annotated tag. |
| public static final String | TYPE_TREE
Text string that identifies an object as a tree. |
| public static final String | UNKNOWN_USER_DEFAULT
Default value for the user name if no other information is available |
| public static final String | XDG_CONFIG_HOME
The key of the XDG_CONFIG_HOME directory defined in the XDG Base Directory specification. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | decodeTypeString(final AnyObjectId
object id this type string came from; may be null if that is
not known at the time the parse is occurring. id, final byte[] string version of the type code. typeString, final byte character immediately following the type string. Usually ' '
(space) or '\n' (line feed). endMark, final MutableInteger position within offset)typeString where the parse
should start. Updated with the new position (just past
endMark when the parse is successful.Parse an encoded type string into a type constant. |
| public static byte[] | |
| public static byte[] | Returns: a decimal representation of the input integer. The returned array is the smallest array that will hold the value.the integer to convert. s)Convert an integer into its decimal representation. |
| public static byte[] | Returns: a byte array of the same length as the input string, holding the same characters, in the same order.the string to convert. Must not contain any characters over
127 (outside of 7-bit ASCII). s)Convert a string to US-ASCII encoding. |
| public static byte[] | Returns: the canonical ASCII encoded name of this type.the type code, from a pack representation. typeCode)Convert an OBJ_* type constant to an ASCII encoded string constant. |
| public static MessageDigest | |
| public static String | Returns: the canonical string name of this type.the type code, from a pack representation. typeCode)Convert an OBJ_* type constant to a TYPE_* type constant. |
| ATTR_BUILTIN_BINARY_MERGER | back to summary |
|---|---|
| public static final String ATTR_BUILTIN_BINARY_MERGER Binary value for custom merger.
| |
| ATTR_BUILTIN_UNION_MERGE_DRIVER | back to summary |
|---|---|
| public static final String ATTR_BUILTIN_UNION_MERGE_DRIVER Union built-in merge driver
| |
| ATTR_DIFF | back to summary |
|---|---|
| public static final String ATTR_DIFF Diff attribute.
| |
| ATTR_FILTER | back to summary |
|---|---|
| public static final String ATTR_FILTER Key for filters in .gitattributes
| |
| ATTR_FILTER_TYPE_CLEAN | back to summary |
|---|---|
| public static final String ATTR_FILTER_TYPE_CLEAN clean command name, used to call filter driver
| |
| ATTR_FILTER_TYPE_SMUDGE | back to summary |
|---|---|
| public static final String ATTR_FILTER_TYPE_SMUDGE smudge command name, used to call filter driver
| |
| ATTR_MERGE | back to summary |
|---|---|
| public static final String ATTR_MERGE Merge attribute.
| |
| BUILTIN_FILTER_PREFIX | back to summary |
|---|---|
| public static final String BUILTIN_FILTER_PREFIX Builtin filter commands start with this prefix
| |
| CHERRY_PICK_HEAD | back to summary |
|---|---|
| public static final String CHERRY_PICK_HEAD name of the file containing the ID of a cherry pick commit in case of conflicts | |
| CMS_SIGNATURE_PREFIX | back to summary |
|---|---|
| public static final String CMS_SIGNATURE_PREFIX Prefix of a CMS signature (X.509, S/MIME).
| |
| COMMIT_EDITMSG | back to summary |
|---|---|
| public static final String COMMIT_EDITMSG Name of the file in which git commands and hooks store and read the message prepared for the upcoming commit.
| |
| COMMIT_GENERATION_NOT_COMPUTED | back to summary |
|---|---|
| public static final int COMMIT_GENERATION_NOT_COMPUTED If a commit-graph file was written by a version of Git that did not compute generation numbers, then those commits will have generation number represented by ().
| |
| COMMIT_GENERATION_UNKNOWN | back to summary |
|---|---|
| public static final int COMMIT_GENERATION_UNKNOWN We use () as generation number for commits not in the commit-graph file.
| |
| COMMONDIR_FILE | back to summary |
|---|---|
| public static final String COMMONDIR_FILE Name of the file (inside gitDir) that has reference to $GIT_COMMON_DIR. .git/worktrees/<worktree-name>/commondir If this file exists, $GIT_COMMON_DIR will be set to the path specified in this file unless it is explicitly set. If the specified path is relative, it is relative to $GIT_DIR. The repository with commondir is incomplete without the repository pointed by "commondir".
| |
| CONFIG | back to summary |
|---|---|
| public static final String CONFIG Default name for the Git repository configuration | |
| DEFAULT_REMOTE_NAME | back to summary |
|---|---|
| public static final String DEFAULT_REMOTE_NAME Default remote name used by clone, push and fetch operations | |
| DOT_BUNDLE_EXT | back to summary |
|---|---|
| public static final String DOT_BUNDLE_EXT The default extension for local bundle files
| |
| DOT_GIT | back to summary |
|---|---|
| public static final String DOT_GIT Default name for the Git repository directory | |
| DOT_GIT_ATTRIBUTES | back to summary |
|---|---|
| public static final String DOT_GIT_ATTRIBUTES Name of the attributes file
| |
| DOT_GIT_EXT | back to summary |
|---|---|
| public static final String DOT_GIT_EXT A bare repository typically ends with this string | |
| DOT_GIT_IGNORE | back to summary |
|---|---|
| public static final String DOT_GIT_IGNORE Name of the ignore file | |
| DOT_GIT_MODULES | back to summary |
|---|---|
| public static final String DOT_GIT_MODULES Name of the submodules file | |
| EMPTY_BLOB_ID | back to summary |
|---|---|
| public static final ObjectId EMPTY_BLOB_ID Well-known object ID for the empty blob.
| |
| EMPTY_TREE_ID | back to summary |
|---|---|
| public static final ObjectId EMPTY_TREE_ID Well-known object ID for the empty tree.
| |
| ENCODED_TYPE_BLOB | back to summary |
|---|---|
| private static final byte[] ENCODED_TYPE_BLOB | |
| ENCODED_TYPE_COMMIT | back to summary |
|---|---|
| private static final byte[] ENCODED_TYPE_COMMIT | |
| ENCODED_TYPE_TAG | back to summary |
|---|---|
| private static final byte[] ENCODED_TYPE_TAG | |
| ENCODED_TYPE_TREE | back to summary |
|---|---|
| private static final byte[] ENCODED_TYPE_TREE | |
| FETCH_HEAD | back to summary |
|---|---|
| public static final String FETCH_HEAD Special name for the "FETCH_HEAD" symbolic-ref. | |
| GIT_ALTERNATE_OBJECT_DIRECTORIES_KEY | back to summary |
|---|---|
| public static final String GIT_ALTERNATE_OBJECT_DIRECTORIES_KEY The environment variable that tells us where to look for objects, besides the default objects directory. | |
| GIT_AUTHOR_EMAIL_KEY | back to summary |
|---|---|
| public static final String GIT_AUTHOR_EMAIL_KEY The environment variable that contains the author's email | |
| GIT_AUTHOR_NAME_KEY | back to summary |
|---|---|
| public static final String GIT_AUTHOR_NAME_KEY The environment variable that contains the author's name | |
| GIT_CEILING_DIRECTORIES_KEY | back to summary |
|---|---|
| public static final String GIT_CEILING_DIRECTORIES_KEY The environment variable that limits how close to the root of the file systems JGit will traverse when looking for a repository root. | |
| GIT_COMMITTER_EMAIL_KEY | back to summary |
|---|---|
| public static final String GIT_COMMITTER_EMAIL_KEY The environment variable that contains the commiter's email | |
| GIT_COMMITTER_NAME_KEY | back to summary |
|---|---|
| public static final String GIT_COMMITTER_NAME_KEY The environment variable that contains the commiter's name | |
| GIT_COMMON_DIR_KEY | back to summary |
|---|---|
| public static final String GIT_COMMON_DIR_KEY The environment variable that tells us which directory is the common ".git" directory.
| |
| GIT_CONFIG_NOSYSTEM_KEY | back to summary |
|---|---|
| public static final String GIT_CONFIG_NOSYSTEM_KEY The environment variable that blocks use of the system config file
| |
| GIT_DIR_KEY | back to summary |
|---|---|
| public static final String GIT_DIR_KEY The environment variable that tells us which directory is the ".git" directory | |
| GIT_INDEX_FILE_KEY | back to summary |
|---|---|
| public static final String GIT_INDEX_FILE_KEY The environment variable that tells us which file holds the Git index. | |
| GIT_OBJECT_DIRECTORY_KEY | back to summary |
|---|---|
| public static final String GIT_OBJECT_DIRECTORY_KEY The environment variable that tells us where objects are stored | |
| GIT_WORK_TREE_KEY | back to summary |
|---|---|
| public static final String GIT_WORK_TREE_KEY The environment variable that tells us which directory is the working directory. | |
| GITDIR | back to summary |
|---|---|
| public static final String GITDIR Prefix of the first line in a ".git" file
| |
| GITDIR_FILE | back to summary |
|---|---|
| public static final String GITDIR_FILE Name of the file (inside gitDir) that references the worktree's .git file (opposite link). .git/worktrees/<worktree-name>/gitdir A text file containing the absolute path back to the .git file that points here. This file is used to verify if the linked repository has been manually removed in which case this directory is no longer needed. The modification time (mtime) of this file should be updated each time the linked repository is accessed.
| |
| GITIGNORE_FILENAME | back to summary |
|---|---|
| public static final String GITIGNORE_FILENAME A gitignore file name | |
| GPG_SIGNATURE_PREFIX | back to summary |
|---|---|
| public static final String GPG_SIGNATURE_PREFIX Prefix of a GPG signature.
| |
| HASH_FUNCTION | back to summary |
|---|---|
| private static final String HASH_FUNCTION Hash function used natively by Git for all objects. | |
| HEAD | back to summary |
|---|---|
| public static final String HEAD Special name for the "HEAD" symbolic-ref. | |
| HEADS | back to summary |
|---|---|
| public static final String HEADS Name of heads folder or file in refs.
| |
| HOOKS | back to summary |
|---|---|
| public static final String HOOKS Name of the folder (inside gitDir) where the hooks are stored.
| |
| INFINITE_DEPTH | back to summary |
|---|---|
| public static final int INFINITE_DEPTH Depth used to unshallow a repository
| |
| INFO_ALTERNATES | back to summary |
|---|---|
| public static final String INFO_ALTERNATES Info alternates file (goes under OBJECTS)
| |
| INFO_ATTRIBUTES | back to summary |
|---|---|
| public static final String INFO_ATTRIBUTES Attributes-override-file
| |
| INFO_COMMIT_GRAPH | back to summary |
|---|---|
| public static final String INFO_COMMIT_GRAPH info commit-graph file (goes under OBJECTS)
| |
| INFO_EXCLUDE | back to summary |
|---|---|
| public static final String INFO_EXCLUDE Excludes-file
| |
| INFO_HTTP_ALTERNATES | back to summary |
|---|---|
| public static final String INFO_HTTP_ALTERNATES HTTP alternates file (goes under OBJECTS)
| |
| INFO_REFS | back to summary |
|---|---|
| public static final String INFO_REFS Info refs folder | |
| L_LOGS | back to summary |
|---|---|
| public static final String L_LOGS Prefix for any log.
| |
| LOCK_SUFFIX | back to summary |
|---|---|
| public static final String LOCK_SUFFIX Suffix of lock file name
| |
| LOGS | back to summary |
|---|---|
| public static final String LOGS Logs folder name | |
| MASTER | back to summary |
|---|---|
| public static final String MASTER Default main branch name | |
| MERGE_HEAD | back to summary |
|---|---|
| public static final String MERGE_HEAD name of the file containing the IDs of the parents of a merge commit | |
| MERGE_MSG | back to summary |
|---|---|
| public static final String MERGE_MSG name of the file containing the commit msg for a merge commit | |
| MODULES | back to summary |
|---|---|
| public static final String MODULES Name of the folder (inside gitDir) where submodules are stored
| |
| OBJ_BAD | back to summary |
|---|---|
| public static final int OBJ_BAD An unknown or invalid object type code. | |
| OBJ_BLOB | back to summary |
|---|---|
| public static final int OBJ_BLOB In-pack object type: blob. Indicates the associated object is a blob. This constant is fixed and is defined by the Git packfile format.
| |
| OBJ_COMMIT | back to summary |
|---|---|
| public static final int OBJ_COMMIT In-pack object type: commit. Indicates the associated object is a commit. This constant is fixed and is defined by the Git packfile format.
| |
| OBJ_EXT | back to summary |
|---|---|
| public static final int OBJ_EXT In-pack object type: extended types. This header code is reserved for future expansion. It is currently undefined/unsupported. | |
| OBJ_OFS_DELTA | back to summary |
|---|---|
| public static final int OBJ_OFS_DELTA In-pack object type: offset delta Objects stored with this type actually have a different type which must be obtained from their delta base object. Delta objects store only the changes needed to apply to the base object in order to recover the original object. An offset delta uses a negative offset from the start of this object to refer to its delta base. The base object must exist in this packfile (even in the case of a thin pack). This constant is fixed and is defined by the Git packfile format. | |
| OBJ_REF_DELTA | back to summary |
|---|---|
| public static final int OBJ_REF_DELTA In-pack object type: reference delta Objects stored with this type actually have a different type which must be obtained from their delta base object. Delta objects store only the changes needed to apply to the base object in order to recover the original object. A reference delta uses a full object id (hash) to reference the delta base. The base object is allowed to be omitted from the packfile, but only in the case of a thin pack being transferred over the network. This constant is fixed and is defined by the Git packfile format. | |
| OBJ_TAG | back to summary |
|---|---|
| public static final int OBJ_TAG In-pack object type: annotated tag. Indicates the associated object is an annotated tag. This constant is fixed and is defined by the Git packfile format.
| |
| OBJ_TREE | back to summary |
|---|---|
| public static final int OBJ_TREE In-pack object type: tree. Indicates the associated object is a tree. This constant is fixed and is defined by the Git packfile format.
| |
| OBJ_TYPE_5 | back to summary |
|---|---|
| public static final int OBJ_TYPE_5 In-pack object type: reserved for future use. | |
| OBJECT_ID_ABBREV_STRING_LENGTH | back to summary |
|---|---|
| public static final int OBJECT_ID_ABBREV_STRING_LENGTH The historic length of an abbreviated Git object hash string. Git 2.11 changed this static number to a dynamically calculated one that scales as the repository grows.
| |
| OBJECT_ID_LENGTH | back to summary |
|---|---|
| public static final int OBJECT_ID_LENGTH A Git object hash is 160 bits, i.e. 20 bytes. Changing this assumption is not going to be as easy as changing this declaration. | |
| OBJECT_ID_STRING_LENGTH | back to summary |
|---|---|
| public static final int OBJECT_ID_STRING_LENGTH A Git object can be expressed as a 40 character string of hexadecimal digits.
| |
| OBJECTS | back to summary |
|---|---|
| public static final String OBJECTS Objects folder name
| |
| ORIG_HEAD | back to summary |
|---|---|
| public static final String ORIG_HEAD name of the ref ORIG_HEAD used by certain commands to store the original value of HEAD | |
| OS_USER_DIR | back to summary |
|---|---|
| public static final String OS_USER_DIR The system property that contains the system user name
| |
| OS_USER_NAME_KEY | back to summary |
|---|---|
| public static final String OS_USER_NAME_KEY The system property that contains the system user name | |
| PACK_SIGNATURE | back to summary |
|---|---|
| public static final byte[] PACK_SIGNATURE Pack file signature that occurs at file header - identifies file as Git packfile formatted. This constant is fixed and is defined by the Git packfile format. | |
| PACKED_REFS | back to summary |
|---|---|
| public static final String PACKED_REFS Packed refs file | |
| R_HEADS | back to summary |
|---|---|
| public static final String R_HEADS Prefix for branch refs | |
| R_NOTES | back to summary |
|---|---|
| public static final String R_NOTES Prefix for notes refs | |
| R_NOTES_COMMITS | back to summary |
|---|---|
| public static final String R_NOTES_COMMITS Standard notes ref | |
| R_REFS | back to summary |
|---|---|
| public static final String R_REFS Prefix for any ref | |
| R_REMOTES | back to summary |
|---|---|
| public static final String R_REMOTES Prefix for remotes refs | |
| R_STASH | back to summary |
|---|---|
| public static final String R_STASH Standard stash ref | |
| R_TAGS | back to summary |
|---|---|
| public static final String R_TAGS Prefix for tag refs | |
| REFTABLE | back to summary |
|---|---|
| public static final String REFTABLE Reftable folder name
| |
| REVERT_HEAD | back to summary |
|---|---|
| public static final String REVERT_HEAD name of the file containing the ID of a revert commit in case of conflicts | |
| SHALLOW | back to summary |
|---|---|
| public static final String SHALLOW Name of the .git/shallow file | |
| SIGNED_OFF_BY_TAG | back to summary |
|---|---|
| public static final String SIGNED_OFF_BY_TAG Beginning of the common "Signed-off-by: " commit message line | |
| SQUASH_MSG | back to summary |
|---|---|
| public static final String SQUASH_MSG name of the file containing the commit msg for a squash commit | |
| SSH_SIGNATURE_PREFIX | back to summary |
|---|---|
| public static final String SSH_SIGNATURE_PREFIX Prefix of an SSH signature.
| |
| STASH | back to summary |
|---|---|
| public static final String STASH Default stash branch name | |
| TABLES_LIST | back to summary |
|---|---|
| public static final String TABLES_LIST Reftable table list name.
| |
| TYPE_BLOB | back to summary |
|---|---|
| public static final String TYPE_BLOB Text string that identifies an object as a blob. Blobs store whole file revisions. They are used for any user file, as well as for symlinks. Blobs form the bulk of any project's storage space. | |
| TYPE_COMMIT | back to summary |
|---|---|
| public static final String TYPE_COMMIT Text string that identifies an object as a commit. Commits connect trees into a string of project histories, where each commit is an assertion that the best way to continue is to use this other tree (set of files). | |
| TYPE_TAG | back to summary |
|---|---|
| public static final String TYPE_TAG Text string that identifies an object as an annotated tag. Annotated tags store a pointer to any other object, and an additional message. It is most commonly used to record a stable release of the project. | |
| TYPE_TREE | back to summary |
|---|---|
| public static final String TYPE_TREE Text string that identifies an object as a tree. Trees attach object ids (hashes) to names and file modes. The normal use for a tree is to store a version of a directory and its contents. | |
| UNKNOWN_USER_DEFAULT | back to summary |
|---|---|
| public static final String UNKNOWN_USER_DEFAULT Default value for the user name if no other information is available | |
| XDG_CONFIG_HOME | back to summary |
|---|---|
| public static final String XDG_CONFIG_HOME The key of the XDG_CONFIG_HOME directory defined in the XDG Base Directory specification.
| |
| Constants | back to summary |
|---|---|
| private Constants() | |
| decodeTypeString | back to summary |
|---|---|
| public static int decodeTypeString(final AnyObjectId id, final byte[] typeString, final byte endMark, final MutableInteger offset) throws CorruptObjectException Parse an encoded type string into a type constant.
| |
| encode | back to summary |
|---|---|
| public static byte[] encode(String str) Convert a string to a byte array in the standard character encoding UTF8.
| |
| encodeASCII | back to summary |
|---|---|
| public static byte[] encodeASCII(long s) Convert an integer into its decimal representation.
| |
| encodeASCII | back to summary |
|---|---|
| public static byte[] encodeASCII(String s) Convert a string to US-ASCII encoding.
| |
| encodedTypeString | back to summary |
|---|---|
| public static byte[] encodedTypeString(int typeCode) Convert an OBJ_* type constant to an ASCII encoded string constant. The ASCII encoded string is often the canonical representation of the type within a loose object header, or within a tag header.
| |
| newMessageDigest | back to summary |
|---|---|
| public static MessageDigest newMessageDigest() Create a new digest function for objects.
| |
| typeString | back to summary |
|---|---|
| public static String typeString(int typeCode) Convert an OBJ_* type constant to a TYPE_* type constant.
| |