i wrote show_repo.R that returns the structure of the head of a repo prior to merging the remote with the local master. This works in tandem with a sparse checkout, when you are blind to the repo directory tree structure.
It works on all platforms but windows. I am getting this error (below) back. The same script works in cmd and gitbash. What would be the correct call from R?
> system(' git archive --format=tar HEAD | tar t')
fatal: pathspec '|' did not match any files
Warning message:
running command ' git archive --format=tar HEAD | tar t' had status 128
i wrote show_repo.R that returns the structure of the head of a repo prior to merging the remote with the local master. This works in tandem with a sparse checkout, when you are blind to the repo directory tree structure.
It works on all platforms but windows. I am getting this error (below) back. The same script works in
cmdandgitbash. What would be the correct call fromR?