diff options
author | Nelson Elhage <nelhage@nelhage.com> | 2018-08-05 14:37:08 +0000 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-10-26 14:58:51 +0200 |
commit | 831a709d61724552bc7d0673e5a51952aa956b36 (patch) | |
tree | 42fbddb94374ebe674235a7443b2073cc9fe02e7 | |
parent | ab3f609981cd43ed09ea4d3522738322d8e81604 (diff) | |
download | libgit2-831a709d61724552bc7d0673e5a51952aa956b36.tar.gz |
Add a comment
(cherry picked from commit ec76a1aa43321db2451e747d7a4408e780991c4a)
-rw-r--r-- | src/config_file.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config_file.c b/src/config_file.c index 8808a161c..0c05fb515 100644 --- a/src/config_file.c +++ b/src/config_file.c @@ -1076,6 +1076,10 @@ static int read_on_variable( GIT_UNUSED(line_len); if (current_section) { + /* TODO: Once warnings lang, we should likely warn + * here. Git appears to warn in most cases if it sees + * un-namespaced config options. + */ git_buf_puts(&buf, current_section); git_buf_putc(&buf, '.'); } |