Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure that detached HEAD does not raise when comparing branch name. | Jeremy Retailleau | 2020-09-03 | 1 | -1/+7 |
| | |||||
* | Reformat code to remove unnecessary indentation | Jeremy Retailleau | 2020-09-03 | 1 | -29/+31 |
| | |||||
* | Add missing blank line | Jeremy Retailleau | 2020-09-02 | 1 | -0/+1 |
| | |||||
* | Add missing rules to match hierarchy path | Jeremy Retailleau | 2020-09-02 | 1 | -12/+16 |
| | |||||
* | Fix logic to properly compare glob pattern to value | Jeremy Retailleau | 2020-09-02 | 1 | -15/+16 |
| | |||||
* | Add method to retrieve all possible paths to include | Jeremy Retailleau | 2020-09-02 | 1 | -1/+36 |
| | |||||
* | Add reference to repository to config. | Jeremy Retailleau | 2020-09-02 | 1 | -2/+6 |
| | | | | | | | This is necessary when working with conditional include sections as it requires the git directory or active branch name. https://git-scm.com/docs/git-config#_conditional_includes | ||||
* | Update check method to find all includes | Jeremy Retailleau | 2020-09-02 | 1 | -1/+4 |
| | |||||
* | Add Regex to match content of "includeIf" section | Jeremy Retailleau | 2020-09-02 | 1 | -0/+3 |
| | |||||
* | Remove attempt to import ConfigParser for Python 2 | Harmon | 2020-02-08 | 1 | -6/+1 |
| | |||||
* | Remove and replace compat.string_types | Harmon | 2020-02-08 | 1 | -4/+3 |
| | |||||
* | Remove checks for Python 2 and/or 3 | Harmon | 2020-02-08 | 1 | -4/+1 |
| | |||||
* | Remove and replace compat.FileType | Harmon | 2020-02-08 | 1 | -2/+2 |
| | |||||
* | Filtered out "repository" more explicitly | Ben Thayer | 2019-10-28 | 1 | -1/+1 |
| | |||||
* | Raised final ValueError | Ben Thayer | 2019-10-28 | 1 | -1/+1 |
| | |||||
* | Changed ValueError | Ben Thayer | 2019-10-28 | 1 | -1/+1 |
| | |||||
* | Construct GitConfigParser without Repo object | Ben Thayer | 2019-10-28 | 1 | -3/+38 |
| | |||||
* | removed Unnecessary “else” after “return” | Pratik Anurag | 2019-10-15 | 1 | -2/+1 |
| | |||||
* | Use items and items_all correctly | A. Jesse Jiryu Davis | 2019-01-21 | 1 | -19/+16 |
| | | | | #717 | ||||
* | Python 3 compatibility | A. Jesse Jiryu Davis | 2019-01-20 | 1 | -1/+2 |
| | | | | #717 | ||||
* | Support multiple git config values per option | A. Jesse Jiryu Davis | 2019-01-20 | 1 | -10/+129 |
| | | | | Solves #717 | ||||
* | Drop support for EOL Python 2.6 | Hugo | 2018-03-18 | 1 | -1/+1 |
| | |||||
* | BF: process included files before the rest | Yaroslav Halchenko | 2017-11-27 | 1 | -1/+2 |
| | |||||
* | Python 3.6 invalid escape sequence deprecation fixes | Ville Skyttä | 2017-04-09 | 1 | -1/+1 |
| | | | | https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior | ||||
* | Spelling fixes | Ville Skyttä | 2017-03-09 | 1 | -3/+3 |
| | |||||
* | Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵ | Sebastian Thiel | 2016-10-22 | 1 | -16/+20 |
|\ | | | | | | | ankostis-cygwin | ||||
| * | src: import os.path as osp | Kostis Anagnostopoulos | 2016-10-16 | 1 | -16/+20 |
| | | |||||
* | | Fix some typos | Santiago Castro | 2016-10-20 | 1 | -3/+3 |
|/ | |||||
* | src: No PyDev warnings | Kostis Anagnostopoulos | 2016-10-04 | 1 | -2/+2 |
| | | | | | | | | + Mark all unused vars and other non-pep8 (PyDev) warnings + test_utils: + enable & fix forgotten IterableList looped path. + unittestize all assertions. + remote: minor fix progress dispatching unknown err-lines | ||||
* | FIX config-lock release early regression caused by #519 | Kostis Anagnostopoulos | 2016-10-03 | 1 | -13/+8 |
| | | | | + Regression introduced in d84b960982b, by a wrong comment interpretation. | ||||
* | RF: use @functools.wraps within decorators instead of manual __name__ ↵ | Yaroslav Halchenko | 2016-10-02 | 1 | -1/+3 |
| | | | | | | reassignment @wraps does more and does it right ;) | ||||
* | cfg_TCs, #519: FIX config resource leaks | Kostis Anagnostopoulos | 2016-10-01 | 1 | -37/+23 |
| | | | | | + Modify lock/read-config-file code to ansure files closed + Use `with GitConfigarser()` more systematically in TCs. + Clear any locks left hanging from pev Tcs | ||||
* | config parsers as context mangers can now be reentered for locks | Raphael Boidol | 2016-03-06 | 1 | -15/+21 |
| | |||||
* | enable config parsers to be used as context managers | Raphael Boidol | 2016-02-20 | 1 | -2/+19 |
| | | | | if used as context managers, the parsers will automatically release their file locks. | ||||
* | fix(cmd): prevent deadlock on clone/fetch/pull | Sebastian Thiel | 2016-02-07 | 1 | -8/+1 |
| | | | | | | | | | | | | | | | We keep stdout closed, which seems to have the side-effect of stdout being connected to your TTY, in case you run a terminal. However, this shold also prevent deadlocks, as only stderr is used. The alternative would have been to try to fetch lines concurrently, and we have been there. For clone(), `communicate()` is used, and with some luck this will just do the right thing. Even though last time I checked, it didn't ... ? Lets see. Stab at #72 | ||||
* | fix(config): ignore empty values in config file | Sebastian Thiel | 2015-09-06 | 1 | -6/+14 |
| | | | | | | | | | | | Similar to git, we now ignore options which have no value. Previously it would not handle it consistently, and throw a parsing error the first time the cache was built. Afterwards, it was fully usable though. Now we specifically check for the case of no-value options instead. Closes #349 | ||||
* | fix(config): use `str.startswith('~')` instead of `'~' in str` | Mihyaeru | 2015-07-06 | 1 | -1/+1 |
| | |||||
* | fix(config): care tilde in include.path config | Mihyaeru | 2015-07-06 | 1 | -0/+2 |
| | |||||
* | Added NullHandlers to all loggers to preven "No handler" messages | James Nowell | 2015-06-25 | 1 | -0/+1 |
| | | | | | | | | When the code is run without setting up loggers, the loggers have no handlers for the emitted messages. The logging module displays: `No handlers could be found for logger "git.cmd"` on the console. By adding a NullHandler (a no-op) the message disappears, and doesn't affect logging when other handlers are configured. | ||||
* | fix(config): selective cfg write;fix cfg parser | Sebastian Thiel | 2015-04-22 | 1 | -1/+5 |
| | | | | | | | | | | | * config parser now handles quoted values correctly. This doesn't hamper multi-line support. * added regression test to travis to assure we will be warned if we rewrite and break the user's .gitconfig file * only rewrite configuration files if we actually called a mutating method on the writer. Previously it would always rewrite it. Fixes #285 | ||||
* | Greatly improved possible safety of Submodule.update(), which is used by ↵ | Sebastian Thiel | 2015-01-20 | 1 | -1/+3 |
| | | | | | | | | | | | | default. Previously, the implementation would gladly reset new commits in submodules, and/or reset a dirty working tree. Now the new force_reset/force flag has to be specified explicitly to get back to the old behaviour. All submodule tests except for one are working. | ||||
* | Improved unicode handling when using os.environ or GitConfigParser | Sebastian Thiel | 2015-01-19 | 1 | -3/+9 |
| | | | | | | | Assured unicode values are supported when reading the configuration, and when getting author/committer information from the environment. Fixes #237 | ||||
* | Implemented Submodule.rename() | Sebastian Thiel | 2015-01-19 | 1 | -2/+20 |
| | | | | | | A test verifies it's truly working. Related to #238 | ||||
* | GitConfigParser now respects and merges 'include' sections | Sebastian Thiel | 2015-01-14 | 1 | -13/+70 |
| | | | | | | | | | | | | | We implement it as described in this article: http://stackoverflow.com/questions/1557183/is-it-possible-to-include-a-file-in-your-gitconfig Thus we handle * cycles * relative and absolute include paths * write-backs in case of writable GitConfigParser instances Fixes #201 | ||||
* | Implemented multi-line parsing of git-config to the point where a sepcific ↵ | Sebastian Thiel | 2015-01-10 | 1 | -38/+67 |
| | | | | | | | | | | test-file is working. This brings us much closer to what git can do, and should at least prevent errors while reading configuration files (which would break a lot of features, like handling of remotes since these rely reading configuration files). Fixes #112 | ||||
* | Make flake8 happy | Sebastian Thiel | 2015-01-06 | 1 | -2/+2 |
| | |||||
* | test_repo works | Sebastian Thiel | 2015-01-06 | 1 | -2/+12 |
| | |||||
* | test_index works | Sebastian Thiel | 2015-01-06 | 1 | -1/+8 |
| | |||||
* | test_commit works once again | Sebastian Thiel | 2015-01-05 | 1 | -1/+6 |
| | |||||
* | Intermediate commit: test_config and test_actor works | Sebastian Thiel | 2015-01-05 | 1 | -20/+22 |
| | | | | | Kind of tackling the tasks step by step, picking low-hanging fruit first, or the ones that everyone depends on |