Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
bce499af
Commit
bce499af
authored
Oct 31, 2008
by
Shawn O. Pearce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a GIT_ prefix to OBJ_ constants to scope them better
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
parent
1cd20d3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/git_odb.h
+9
-9
No files found.
src/git_odb.h
View file @
bce499af
...
...
@@ -71,15 +71,15 @@ GIT_EXTERN(void) git_odb_close(git_odb** db);
/** Basic type (loose or packed) of any Git object. */
typedef
enum
{
OBJ_BAD
=
-
1
,
/**< Object is invalid. */
OBJ__EXT1
=
0
,
/**< Reserved for future use. */
OBJ_COMMIT
=
1
,
/**< A commit object. */
OBJ_TREE
=
2
,
/**< A tree (directory listing) object. */
OBJ_BLOB
=
3
,
/**< A file revision object. */
OBJ_TAG
=
4
,
/**< An annotated tag object. */
OBJ__EXT2
=
5
,
/**< Reserved for future use. */
OBJ_OFS_DELTA
=
6
,
/**< A delta, base is given by an offset. */
OBJ_REF_DELTA
=
7
,
/**< A delta, base is given by object id. */
GIT_
OBJ_BAD
=
-
1
,
/**< Object is invalid. */
GIT_
OBJ__EXT1
=
0
,
/**< Reserved for future use. */
GIT_
OBJ_COMMIT
=
1
,
/**< A commit object. */
GIT_
OBJ_TREE
=
2
,
/**< A tree (directory listing) object. */
GIT_
OBJ_BLOB
=
3
,
/**< A file revision object. */
GIT_
OBJ_TAG
=
4
,
/**< An annotated tag object. */
GIT_
OBJ__EXT2
=
5
,
/**< Reserved for future use. */
GIT_
OBJ_OFS_DELTA
=
6
,
/**< A delta, base is given by an offset. */
GIT_
OBJ_REF_DELTA
=
7
,
/**< A delta, base is given by object id. */
}
git_otype
;
/** A small object read from the database. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment