forked from gitpython-developers/GitPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test established zero-argument refresh() behavior
This adds tests like the existing ones but for when git.refresh is called with no arguments and the path is provided as the value of the GIT_PYTHON_GIT_EXECUTABLE environment variable. The preexisting tests, which this retains unchanged except with slightly more specific names to avoid confusion with the new tests, are of git.refresh(path). One benefit of these tests is to make a subtle but important aspect of the established behavior clear: relative paths are immediately resolved when passed as a path argument, but they are kept relative when given as the value of the environment variable.
- Loading branch information
1 parent
f4ce709
commit 8dc8eb9
Showing
1 changed file
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters