generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rf: use a single
patched_env
in annex remote (#84)
This PR restricts the use of `patched_env` to the annex remote. The complete "TRANSFER RETRIEVE" implementation is wrapped into a single `patched_env` context. `patched_env` became necessary because datalad's `Dataset.get` will not work properly if the environment variables `GIT_DIR` and `GIT_WORK_TREE` are set.
- Loading branch information
Showing
2 changed files
with
51 additions
and
51 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
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