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
d854d59e
Commit
d854d59e
authored
Aug 17, 2012
by
nulltoken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filemode: introduce enum to ease use of attributes
parent
b2be351a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
include/git2/types.h
+10
-0
No files found.
include/git2/types.h
View file @
d854d59e
...
@@ -175,6 +175,16 @@ typedef enum {
...
@@ -175,6 +175,16 @@ typedef enum {
GIT_RESET_MIXED
=
2
,
GIT_RESET_MIXED
=
2
,
}
git_reset_type
;
}
git_reset_type
;
/** Valid modes for index and tree entries. */
typedef
enum
{
GIT_FILEMODE_NEW
=
0000000
,
GIT_FILEMODE_TREE
=
0040000
,
GIT_FILEMODE_BLOB
=
0100644
,
GIT_FILEMODE_BLOB_EXECUTABLE
=
0100755
,
GIT_FILEMODE_LINK
=
0120000
,
GIT_FILEMODE_COMMIT
=
0160000
,
}
git_filemode_t
;
typedef
struct
git_refspec
git_refspec
;
typedef
struct
git_refspec
git_refspec
;
typedef
struct
git_remote
git_remote
;
typedef
struct
git_remote
git_remote
;
...
...
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