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
b421decc
Commit
b421decc
authored
Jan 03, 2013
by
Nikolai Vladimirov
Committed by
Vicent Marti
Jan 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notes.c - whitespace fix
parent
b8a1ea7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/notes.c
+6
-6
No files found.
src/notes.c
View file @
b421decc
...
...
@@ -129,10 +129,10 @@ static int manipulate_note_in_tree_r(
git_tree
*
parent
,
git_oid
*
note_oid
,
const
char
*
annotated_object_sha
,
int
fanout
,
int
fanout
,
int
(
*
note_exists_cb
)(
git_tree
**
out
,
git_repository
*
repo
,
git_tree
**
out
,
git_repository
*
repo
,
git_tree
*
parent
,
git_oid
*
note_oid
,
const
char
*
annotated_object_sha
,
...
...
@@ -147,7 +147,7 @@ static int manipulate_note_in_tree_r(
int
fanout
,
int
current_error
))
{
int
error
=
-
1
;
int
error
=
-
1
;
git_tree
*
subtree
=
NULL
,
*
new
=
NULL
;
char
subtree_name
[
3
];
...
...
@@ -275,7 +275,7 @@ static int note_write(git_oid *out,
int
error
;
git_oid
oid
;
git_tree
*
tree
=
NULL
;
// TODO: should we apply filters?
/* create note object */
if
((
error
=
git_blob_create_frombuffer
(
&
oid
,
repo
,
note
,
strlen
(
note
)))
<
0
)
...
...
@@ -351,7 +351,7 @@ static int note_remove(git_repository *repo,
int
error
;
git_tree
*
tree_after_removal
=
NULL
;
git_oid
oid
;
if
((
error
=
manipulate_note_in_tree_r
(
&
tree_after_removal
,
repo
,
tree
,
NULL
,
target
,
0
,
remove_note_in_tree_eexists_cb
,
remove_note_in_tree_enotfound_cb
))
<
0
)
...
...
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