gitcfg: refactor config reading into a function
commitb14b46beb1caed9f5529cefde80f23b028fcde5d
authorDavid Aguilar <davvid@gmail.com>
Sat, 15 Oct 2022 05:54:51 +0000 (14 22:54 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 15 Oct 2022 06:47:44 +0000 (14 23:47 -0700)
tree5668810329dbb2d9e8b42f9e4bab05dcaf78e806
parentbb1298aa7639bd8c63e123680a5c9a83da8eb933
gitcfg: refactor config reading into a function

Prepare for having two methods for parsing the git config output.
No functional changes.

Related-to: #1264
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/gitcfg.py
cola/version.py