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
7a361e93
Commit
7a361e93
authored
May 19, 2012
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #715 from schu/cleanup-misc
Cleanup
parents
f7ed0c34
54db1a18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
src/commit.c
+0
-9
src/indexer.c
+0
-1
No files found.
src/commit.c
View file @
7a361e93
...
...
@@ -18,15 +18,6 @@
#include <stdarg.h>
#define COMMIT_BASIC_PARSE 0x0
#define COMMIT_FULL_PARSE 0x1
#define COMMIT_PRINT(commit) {\
char oid[41]; oid[40] = 0;\
git_oid_fmt(oid, &commit->object.id);\
printf("Oid: %s | In degree: %d | Time: %u\n", oid, commit->in_degree, commit->commit_time);\
}
static
void
clear_parents
(
git_commit
*
commit
)
{
unsigned
int
i
;
...
...
src/indexer.c
View file @
7a361e93
...
...
@@ -839,7 +839,6 @@ int git_indexer_run(git_indexer *idx, git_indexer_stats *stats)
git_oid_cpy
(
&
pentry
->
sha1
,
&
oid
);
pentry
->
offset
=
entry_start
;
git_oid_fmt
(
fmt
,
&
oid
);
printf
(
"adding %s to cache
\n
"
,
fmt
);
error
=
git_vector_insert
(
&
idx
->
pack
->
cache
,
pentry
);
if
(
error
<
0
)
goto
cleanup
;
...
...
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