Open yonicd opened 7 years ago
@hafen
obviously this was the problem....
if(.Platform$OS.type=='windows'){
shell('git archive --format=tar HEAD | tar t > _archive_.txt')
}else{
system('git archive --format=tar HEAD | tar t > _archive_.txt')
}
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
andgitbash
. What would be the correct call fromR
?