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
d7a29463
Commit
d7a29463
authored
May 17, 2014
by
Philip Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug in the pack::packbuilder suite
parent
4c9ffdff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/pack/packbuilder.c
+2
-0
No files found.
tests/pack/packbuilder.c
View file @
d7a29463
...
@@ -17,6 +17,7 @@ static git_transfer_progress _stats;
...
@@ -17,6 +17,7 @@ static git_transfer_progress _stats;
void
test_pack_packbuilder__initialize
(
void
)
void
test_pack_packbuilder__initialize
(
void
)
{
{
_repo
=
cl_git_sandbox_init
(
"testrepo.git"
);
_repo
=
cl_git_sandbox_init
(
"testrepo.git"
);
cl_git_pass
(
p_chdir
(
"testrepo.git"
));
cl_git_pass
(
git_revwalk_new
(
&
_revwalker
,
_repo
));
cl_git_pass
(
git_revwalk_new
(
&
_revwalker
,
_repo
));
cl_git_pass
(
git_packbuilder_new
(
&
_packbuilder
,
_repo
));
cl_git_pass
(
git_packbuilder_new
(
&
_packbuilder
,
_repo
));
cl_git_pass
(
git_vector_init
(
&
_commits
,
0
,
NULL
));
cl_git_pass
(
git_vector_init
(
&
_commits
,
0
,
NULL
));
...
@@ -46,6 +47,7 @@ void test_pack_packbuilder__cleanup(void)
...
@@ -46,6 +47,7 @@ void test_pack_packbuilder__cleanup(void)
git_indexer_free
(
_indexer
);
git_indexer_free
(
_indexer
);
_indexer
=
NULL
;
_indexer
=
NULL
;
p_chdir
(
".."
);
cl_git_sandbox_cleanup
();
cl_git_sandbox_cleanup
();
_repo
=
NULL
;
_repo
=
NULL
;
}
}
...
...
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