Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #164 from psychoinformatics-de/rf-gitcustomcmd
Browse files Browse the repository at this point in the history
RF: Use call_git() in favor of _git_custom_command()
  • Loading branch information
bpoldrack committed Jan 27, 2021
2 parents 0010795 + 19e5b34 commit a7d611a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datalad_hirni/commands/import_dicoms.py
Expand Up @@ -64,7 +64,7 @@ def _import_dicom_tarball(target_ds, tarball, filename):

target_ds.repo.merge('incoming', options=["-s", "ours", "--no-commit"],
expect_stderr=True)
target_ds.repo._git_custom_command([], "git read-tree -m -u incoming")
target_ds.repo.call_git(['read-tree', '-m', '-u', 'incoming'])

from datalad.coreapi import add_archive_content
# # TODO: Reconsider value of --existing
Expand Down

0 comments on commit a7d611a

Please sign in to comment.