diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-16 11:05:31 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-16 11:06:12 +0100 |
commit | 9f73e8ba55f33394161b403bf7b8c2e0e05f47b0 (patch) | |
tree | f537d42a36e2424a240bcf4f1a4440e3e3acf4a4 /lib/git/config.py | |
parent | af5abca21b56fcf641ff916bd567680888c364aa (diff) | |
download | gitpython-9f73e8ba55f33394161b403bf7b8c2e0e05f47b0.tar.gz |
remote: added methods to set and query the tracking branch status of normal heads, including test.
Config: SectionConstraint was updated with additional callable methods, the complete ConfigParser interface should be covered now
Remote: refs methods is much more efficient now as it will set the search path to the directory containing the remote refs - previously it used the remotes/ base directory and pruned the search result
Diffstat (limited to 'lib/git/config.py')
-rw-r--r-- | lib/git/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/git/config.py b/lib/git/config.py index 073efd63..0528f318 100644 --- a/lib/git/config.py +++ b/lib/git/config.py @@ -74,7 +74,8 @@ class SectionConstraint(object): It supports all ConfigParser methods that operate on an option""" __slots__ = ("_config", "_section_name") - _valid_attrs_ = ("get_value", "set_value", "get", "set", "getint", "getfloat", "getboolean", "has_option") + _valid_attrs_ = ("get_value", "set_value", "get", "set", "getint", "getfloat", "getboolean", "has_option", + "remove_section", "remove_option", "options") def __init__(self, config, section): self._config = config |