diff options
author | Nikolai Vladimirov <nikolay@vladimiroff.com> | 2013-01-03 15:43:51 +0200 |
---|---|---|
committer | Nikolai Vladimirov <nikolay@vladimiroff.com> | 2013-01-03 15:43:51 +0200 |
commit | 4a44087ae75a63ab0c10be215722a8a24f1187e7 (patch) | |
tree | 4c559c1e9443b11ba5c74e6b75a3780e9917e7a1 /src/notes.c | |
parent | 922dd9788cfec2ec4727e1b264a2ad6a7f4849ba (diff) | |
download | libgit2-4a44087ae75a63ab0c10be215722a8a24f1187e7.tar.gz |
notes.c - whitespace fix
Diffstat (limited to 'src/notes.c')
-rw-r--r-- | src/notes.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/notes.c b/src/notes.c index 8a27bdbf5..b49a1b524 100644 --- a/src/notes.c +++ b/src/notes.c @@ -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) |