Commit 831a709d61724552bc7d0673e5a51952aa956b36

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

Add a comment (cherry picked from commit ec76a1aa43321db2451e747d7a4408e780991c4a)

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 8808a16..0c05fb5 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, '.');
 	}