diff options
| author | Patrick Steinhardt <ps@pks.im> | 2018-06-25 11:56:52 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-07-13 08:25:12 +0200 |
| commit | 9994cd3f0ffcd7b28d26c82ecb6564bc4072dc2a (patch) | |
| tree | f053f0a7f44be547e208d35447623617dfbd0340 /tests/revert | |
| parent | f347a441c81c4e16dd54de07c5070eca8fccd5c8 (diff) | |
| download | libgit2-9994cd3f0ffcd7b28d26c82ecb6564bc4072dc2a.tar.gz | |
treewide: remove use of C++ style comments
C++ style comment ("//") are not specified by the ISO C90 standard and
thus do not conform to it. While libgit2 aims to conform to C90, we did
not enforce it until now, which is why quite a lot of these
non-conforming comments have snuck into our codebase. Do a tree-wide
conversion of all C++ style comments to the supported C style comments
to allow us enforcing strict C90 compliance in a later commit.
Diffstat (limited to 'tests/revert')
| -rw-r--r-- | tests/revert/bare.c | 2 | ||||
| -rw-r--r-- | tests/revert/workdir.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/revert/bare.c b/tests/revert/bare.c index 206c86d70..fda2b82b0 100644 --- a/tests/revert/bare.c +++ b/tests/revert/bare.c @@ -11,7 +11,7 @@ static git_repository *repo; -// Fixture setup and teardown +/* Fixture setup and teardown */ void test_revert_bare__initialize(void) { repo = cl_git_sandbox_init(TEST_REPO_PATH); diff --git a/tests/revert/workdir.c b/tests/revert/workdir.c index 86047350a..53bb0e439 100644 --- a/tests/revert/workdir.c +++ b/tests/revert/workdir.c @@ -12,7 +12,7 @@ static git_repository *repo; static git_index *repo_index; -// Fixture setup and teardown +/* Fixture setup and teardown */ void test_revert_workdir__initialize(void) { git_config *cfg; |
