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
babbff34
Commit
babbff34
authored
Oct 10, 2014
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move un-namespaced constant to internal header
FLAG_BITS only seems to be used internally
parent
fd0f6d38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/git2/common.h
+0
-2
src/commit_list.h
+2
-0
No files found.
include/git2/common.h
View file @
babbff34
...
@@ -83,8 +83,6 @@ GIT_BEGIN_DECL
...
@@ -83,8 +83,6 @@ GIT_BEGIN_DECL
*/
*/
#define GIT_OID_HEX_ZERO "0000000000000000000000000000000000000000"
#define GIT_OID_HEX_ZERO "0000000000000000000000000000000000000000"
#define FLAG_BITS 27
/**
/**
* Return the version of the libgit2 library
* Return the version of the libgit2 library
* being currently used.
* being currently used.
...
...
src/commit_list.h
View file @
babbff34
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
#define COMMIT_ALLOC \
#define COMMIT_ALLOC \
(sizeof(git_commit_list_node) + PARENTS_PER_COMMIT * sizeof(git_commit_list_node *))
(sizeof(git_commit_list_node) + PARENTS_PER_COMMIT * sizeof(git_commit_list_node *))
#define FLAG_BITS 4
typedef
struct
git_commit_list_node
{
typedef
struct
git_commit_list_node
{
git_oid
oid
;
git_oid
oid
;
uint32_t
time
;
uint32_t
time
;
...
...
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