Commit 6925345
committed
Handle indented comments in git config files
It's perfectly valid for a git config file to contain comments inside
sections, e.g.:
[core]
# This is a shared repository
sharedRepository = true
The git tools all parse this fine while GitPython was choking on it.1 parent 35bceb1 commit 6925345
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
214 | | - | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
0 commit comments