summaryrefslogtreecommitdiff
path: root/src/commit.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/commit.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/commit.c')
-rw-r--r--src/commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c
index 9fcf811e0..eda57c53e 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -115,7 +115,7 @@ git_commit *git_commit_lookup(git_revpool *pool, const git_oid *id)
memset(commit, 0x0, sizeof(git_commit));
- // Initialize parent object
+ /* Initialize parent object */
git_oid_cpy(&commit->object.id, id);
commit->object.pool = pool;
@@ -200,7 +200,7 @@ int git_commit__parse_buffer(git_commit *commit, void *data, size_t len)
if ((parent = git_commit_lookup(commit->object.pool, &oid)) == NULL)
return GIT_ENOTFOUND;
- // Inherit uninteresting flag
+ /* Inherit uninteresting flag */
if (commit->uninteresting)
parent->uninteresting = 1;