Skip to content

Commit ec76a1a

Browse files
committed
Add a comment
1 parent 019409b commit ec76a1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/config_file.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,10 @@ static int read_on_variable(
10361036
GIT_UNUSED(line_len);
10371037

10381038
if (current_section) {
1039+
/* TODO: Once warnings lang, we should likely warn
1040+
* here. Git appears to warn in most cases if it sees
1041+
* un-namespaced config options.
1042+
*/
10391043
git_buf_puts(&buf, current_section);
10401044
git_buf_putc(&buf, '.');
10411045
}

0 commit comments

Comments
 (0)