Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Closed
Description
Let /git be a git repo, suppose path /git/foo/bar exists (file or directory).
>>>git.Repo('/git/foo/bar')<git.Repo"/git/.git">
I think this is very dangerous behaviour. For example, in a testing environment one might use
shutil.rmtree(some_repo.working_dir)
where, if some_repo was subject to the behaviour above, created from a path in a project's working directory, unhappiness might ensue.