summaryrefslogtreecommitdiff
path: root/src/revwalk.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-06-01 19:41:55 +0100
committerAndreas Ericsson <ae@op5.se>2010-06-02 11:18:56 +0200
commitf29249340c11b069e46b70fc145c1d7fbe213b94 (patch)
treeb6fca797357066296e2cd9bc9bdbbcd2489a67a4 /src/revwalk.c
parentb2bc567f25e3e07d0d6d55fab16f33423d863107 (diff)
downloadlibgit2-f29249340c11b069e46b70fc145c1d7fbe213b94.tar.gz
Style: Do not use (C99) // comments
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/revwalk.c')
-rw-r--r--src/revwalk.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/revwalk.c b/src/revwalk.c
index 2a6d97c79..5d7f65df6 100644
--- a/src/revwalk.c
+++ b/src/revwalk.c
@@ -76,9 +76,11 @@ int gitrp_push(git_revpool *pool, git_commit *commit)
return error;
}
- // Sanity check: make sure that if the commit
- // has been manually marked as uninteresting,
- // all the parent commits are too.
+ /*
+ * Sanity check: make sure that if the commit
+ * has been manually marked as uninteresting,
+ * all the parent commits are too.
+ */
if (commit->uninteresting)
git_commit__mark_uninteresting(commit);
@@ -160,7 +162,7 @@ git_commit *gitrp_next(git_revpool *pool)
return next;
}
- // No commits left to iterate
+ /* No commits left to iterate */
gitrp_reset(pool);
return NULL;
}