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
18eff2ad
Commit
18eff2ad
authored
Nov 08, 2012
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up a couple things missed in rebase
parent
32def5af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
tests-clar/stash/drop.c
+1
-1
tests-clar/stash/foreach.c
+2
-2
tests-clar/stash/save.c
+1
-1
No files found.
tests-clar/stash/drop.c
View file @
18eff2ad
...
...
@@ -15,7 +15,7 @@ void test_stash_drop__cleanup(void)
{
git_signature_free
(
signature
);
git_repository_free
(
repo
);
cl_git_pass
(
git_futils_rmdir_r
(
"stash"
,
NULL
,
GIT_
DIRREMOVAL_FILES_AND_DIR
S
));
cl_git_pass
(
git_futils_rmdir_r
(
"stash"
,
NULL
,
GIT_
RMDIR_REMOVE_FILE
S
));
}
void
test_stash_drop__cannot_drop_from_an_empty_stash
(
void
)
...
...
tests-clar/stash/foreach.c
View file @
18eff2ad
...
...
@@ -30,7 +30,7 @@ void test_stash_foreach__cleanup(void)
{
git_signature_free
(
signature
);
git_repository_free
(
repo
);
cl_git_pass
(
git_futils_rmdir_r
(
REPO_NAME
,
NULL
,
GIT_
DIRREMOVAL_FILES_AND_DIR
S
));
cl_git_pass
(
git_futils_rmdir_r
(
REPO_NAME
,
NULL
,
GIT_
RMDIR_REMOVE_FILE
S
));
}
static
int
callback_cb
(
...
...
@@ -45,7 +45,7 @@ static int callback_cb(
GIT_UNUSED
(
message
);
cl_assert_equal_i
(
0
,
git_oid_streq
(
stash_oid
,
data
->
oids
[
data
->
invokes
++
]));
return
0
;
}
...
...
tests-clar/stash/save.c
View file @
18eff2ad
...
...
@@ -27,7 +27,7 @@ void test_stash_save__cleanup(void)
{
git_signature_free
(
signature
);
git_repository_free
(
repo
);
cl_git_pass
(
git_futils_rmdir_r
(
"stash"
,
NULL
,
GIT_
DIRREMOVAL_FILES_AND_DIR
S
));
cl_git_pass
(
git_futils_rmdir_r
(
"stash"
,
NULL
,
GIT_
RMDIR_REMOVE_FILE
S
));
}
static
void
assert_object_oid
(
const
char
*
revision
,
const
char
*
expected_oid
,
git_otype
type
)
...
...
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