summaryrefslogtreecommitdiff
path: root/tests/config
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-06-25 11:56:52 +0200
committerPatrick Steinhardt <ps@pks.im>2018-07-13 08:25:12 +0200
commit9994cd3f0ffcd7b28d26c82ecb6564bc4072dc2a (patch)
treef053f0a7f44be547e208d35447623617dfbd0340 /tests/config
parentf347a441c81c4e16dd54de07c5070eca8fccd5c8 (diff)
downloadlibgit2-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/config')
-rw-r--r--tests/config/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/config/write.c b/tests/config/write.c
index cffa54e4d..521dcb0ae 100644
--- a/tests/config/write.c
+++ b/tests/config/write.c
@@ -365,7 +365,7 @@ void test_config_write__add_value_at_specific_level(void)
int64_t l, expected = +9223372036854775803;
git_buf buf = GIT_BUF_INIT;
- // open config15 as global level config file
+ /* open config15 as global level config file */
cl_git_pass(git_config_new(&cfg));
cl_git_pass(git_config_add_file_ondisk(cfg, "config9",
GIT_CONFIG_LEVEL_LOCAL, NULL, 0));
@@ -381,7 +381,7 @@ void test_config_write__add_value_at_specific_level(void)
git_config_free(cfg_specific);
git_config_free(cfg);
- // open config15 as local level config file
+ /* open config15 as local level config file */
cl_git_pass(git_config_open_ondisk(&cfg, "config15"));
cl_git_pass(git_config_get_int32(&i, cfg, "core.int32global"));