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
562246b4
Commit
562246b4
authored
Jun 27, 2022
by
Yuang Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move declaration of feature flag to graft.h/graft.c
parent
89494f67
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
src/grafts.c
+2
-0
src/grafts.h
+2
-0
src/shallow.h
+0
-3
No files found.
src/grafts.c
View file @
562246b4
...
...
@@ -11,6 +11,8 @@
#include "oidarray.h"
#include "parse.h"
bool
git_cache__enabled
=
true
;
struct
git_grafts
{
/* Map of `git_commit_graft`s */
git_oidmap
*
commits
;
...
...
src/grafts.h
View file @
562246b4
...
...
@@ -19,6 +19,8 @@ typedef struct {
typedef
struct
git_grafts
git_grafts
;
extern
bool
git_shallow__enabled
;
int
git_grafts_new
(
git_grafts
**
out
);
int
git_grafts_from_file
(
git_grafts
**
out
,
const
char
*
path
);
void
git_grafts_free
(
git_grafts
*
grafts
);
...
...
src/shallow.h
deleted
100644 → 0
View file @
89494f67
#include "common.h"
extern
bool
git_shallow__enabled
;
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