# What / Why my ini file content ``` [gitflow "branch.feature/PLANO-34129"] base = master ``` gets parsed to ``` { 'gitflow "branch': { 'feature/PLANO-34129"': { 'base': 'master' } } } ``` Note the missing " in the keys. ## How ### Steps to Reproduce #### .gitconfig ``` [gitflow "branch.feature/PLANO-34129"] base = master ``` #### reproduce.js ``` const ini = require('ini') const fs = require('fs') var config = ini.parse(fs.readFileSync('.gitconfig', 'utf-8')) console.log(JSON.stringify(team_config)); ``` ### Expected Behavior Something like this: ``` { 'gitflow': { 'branch': { 'feature/PLANO-34129': { 'base': 'master' } } } } ```
Activity
[-][BUG] doublequotes are missing in the keys.[/-][+][BUG] non-closing doublequotes in the keys.[/+][-][BUG] non-closing doublequotes in the keys.[/-][+][BUG] problem with doublequotes in the keys.[/+]aleclarson commentedon May 11, 2021
Actually, it's a problem with dots, not double quotes.
Duplicate of #22
s-light commentedon Apr 23, 2025
same for
.gitmodulesfiles.i think this one can be closed.