Commit ec76a1aa43321db2451e747d7a4408e780991c4a

Nelson Elhage 2018-08-05T14:37:08

Add a comment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/config_file.c b/src/config_file.c
index c21d902..050bcfc 100644
--- a/src/config_file.c
+++ b/src/config_file.c
@@ -1036,6 +1036,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, '.');
 	}