Skip to content

Commit 4f3b619

Browse files
authored
Merge pull request #176 from datalad/noosfremote
Replace git-remote-osf implementation with `datalad-annex::` from `datalad-next`
2 parents c01f74e + 8ca4cae commit 4f3b619

File tree

8 files changed

+112
-474
lines changed

8 files changed

+112
-474
lines changed

datalad_osf/annex_remote.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,13 @@ def files(self):
253253
f.path.lstrip(posixpath.sep): f
254254
for f in self.storage.files
255255
}
256+
for p, key in (
257+
('.git/refs', 'XDLRA--refs'),
258+
('.git/repo.zip', 'XDLRA--repo-export'),
259+
):
260+
handle = self._files.get(p)
261+
if handle is not None:
262+
self._files[key] = handle
256263
return self._files
257264

258265
def removeexportdirectory(self, remote_directory):

0 commit comments

Comments
 (0)