Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott J. Goldman <scottjg@github.com>2012-11-29 06:07:08 +0400
committerScott J. Goldman <scottjg@github.com>2012-11-29 06:54:57 +0400
commitc6d03c958fc5604c8a00c9a512ec342caa3e43ef (patch)
tree2f20fb50eb3628aaa2dde987475ca230b9c7bb69 /src/merge.c
parent0d9e0323a552078a6bec639f2c715b3d9f267922 (diff)
fix coding style: while( -> while (
Diffstat (limited to 'src/merge.c')
-rw-r--r--src/merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/merge.c b/src/merge.c
index e0fc0abf1..96d2168ba 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -258,7 +258,7 @@ static int count_ahead_behind(git_commit_list_node *one, git_commit_list_node *t
if (git_pqueue_insert(&pq, two) < 0)
return -1;
- while((commit = git_pqueue_pop(&pq)) != NULL) {
+ while ((commit = git_pqueue_pop(&pq)) != NULL) {
if (commit->flags & RESULT ||
(commit->flags & (PARENT1 | PARENT2)) == (PARENT1 | PARENT2))
continue;