diff options
author | Linquize <linquize@yahoo.com.hk> | 2013-05-15 20:26:55 +0800 |
---|---|---|
committer | Linquize <linquize@yahoo.com.hk> | 2013-05-15 20:26:55 +0800 |
commit | 0cb16fe924fb5c4e58866c28b06ace876e2dcbd3 (patch) | |
tree | f1c4e33497c216c333dc0133d8a15fcd137c358b /src/notes.c | |
parent | bc2020d64869aa19a88b71aee33a24b54c178dab (diff) | |
download | libgit2-0cb16fe924fb5c4e58866c28b06ace876e2dcbd3.tar.gz |
Unify whitespaces to tabs
Diffstat (limited to 'src/notes.c')
-rw-r--r-- | src/notes.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/notes.c b/src/notes.c index 4ca2aaa63..3e3db58db 100644 --- a/src/notes.c +++ b/src/notes.c @@ -579,30 +579,30 @@ cleanup: } int git_note_foreach( - git_repository *repo, - const char *notes_ref, - git_note_foreach_cb note_cb, - void *payload) + git_repository *repo, + const char *notes_ref, + git_note_foreach_cb note_cb, + void *payload) { - int error; - git_note_iterator *iter = NULL; - git_oid note_id, annotated_id; + int error; + git_note_iterator *iter = NULL; + git_oid note_id, annotated_id; - if ((error = git_note_iterator_new(&iter, repo, notes_ref)) < 0) - return error; + if ((error = git_note_iterator_new(&iter, repo, notes_ref)) < 0) + return error; - while (!(error = git_note_next(¬e_id, &annotated_id, iter))) { - if (note_cb(¬e_id, &annotated_id, payload)) { - error = GIT_EUSER; - break; - } - } + while (!(error = git_note_next(¬e_id, &annotated_id, iter))) { + if (note_cb(¬e_id, &annotated_id, payload)) { + error = GIT_EUSER; + break; + } + } - if (error == GIT_ITEROVER) - error = 0; + if (error == GIT_ITEROVER) + error = 0; - git_note_iterator_free(iter); - return error; + git_note_iterator_free(iter); + return error; } |