You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[diff]
mnemonicPrefix
[rebase]
stat
[merge]
summary
tool = vimdiff
GitPython raises a configparser.ParsingError for the lines without values:
Traceback (most recent call last):
...
File "/home/auscompgeek/.local/lib/python3.4/site-packages/git/refs/head.py", line 162, in tracking_branchif reader.has_option(self.k_config_remote) and reader.has_option(self.k_config_remote_ref):
File "/home/auscompgeek/.local/lib/python3.4/site-packages/git/config.py", line 114, in <lambda>returnlambda*args, **kwargs: self._call_config(attr, *args, **kwargs)
File "/home/auscompgeek/.local/lib/python3.4/site-packages/git/config.py", line 120, in _call_configreturngetattr(self._config, method)(self._section_name, *args, **kwargs)
File "/home/auscompgeek/.local/lib/python3.4/site-packages/git/config.py", line 70, in assure_data_presentself.read()
File "/home/auscompgeek/.local/lib/python3.4/site-packages/git/config.py", line 378, in readself._read(fp, fp.name)
File "/home/auscompgeek/.local/lib/python3.4/site-packages/git/config.py", line 340, in _readraise e
configparser.ParsingError: Source contains parsing errors: '/home/auscompgeek/.config/git/config'
[line 28]: '\tmnemonicPrefix\n'
[line 30]: '\tstat\n'
[line 32]: '\tsummary\n'
The text was updated successfully, but these errors were encountered:
Here is a snippet of my
~/.config/git/config
:GitPython raises a
configparser.ParsingError
for the lines without values:The text was updated successfully, but these errors were encountered: