]> arthur.barton.de Git - bup.git/commit
git: teach git_config_get() to read from a file
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 18 Dec 2019 21:03:58 +0000 (22:03 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 13 Jun 2021 16:32:17 +0000 (11:32 -0500)
commitd600f2a0c4614aa787e5721e03fe32dd91a22455
tree07a404a6aea4dcc4c4d3d30d284ea76f72f02567
parentf80049d64c082674718372cf4b872d47eab14e19
git: teach git_config_get() to read from a file

We want to use git_config_get() to have a bup config file
in the future, so teach git_config_get() to read from a
file and add some tests for it.

Use this also to test the opttype conversions from the
previous patch.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/git.py
test/int/sample.conf [new file with mode: 0644]
test/int/test_git.py