gitcfg: avoid a redundant call to "git version"
commiteb3eeba6889012b5116d30ffe5e518a4e18f30d3
authorDavid Aguilar <davvid@gmail.com>
Wed, 28 Sep 2022 01:48:41 +0000 (27 18:48 -0700)
committerDavid Aguilar <davvid@gmail.com>
Wed, 28 Sep 2022 01:48:41 +0000 (27 18:48 -0700)
tree186af8c9b2f9e03e32b82e462773c4172085fe98
parent9447756186a348beb83f23b718437b3d746273ea
gitcfg: avoid a redundant call to "git version"

Pass the context object to git_version() to ensure that the cached
memoized result is used.

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