Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

specify archive format (required for some versions of git)

  • Loading branch information...
commit f5dab6c011ebf3ee9d667770fc64293717e2f43e 1 parent 2664a8c
@dpiddy dpiddy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/vlad/git.rb
View
2  lib/vlad/git.rb
@@ -27,7 +27,7 @@ def export(revision, destination)
revision = 'HEAD' if revision == "."
[ "mkdir -p #{destination}",
- "#{git_cmd} archive #{revision} | (cd #{destination} && tar xf -)"
+ "#{git_cmd} archive --format=tar #{revision} | (cd #{destination} && tar xf -)"
].join(" && ")
end
Please sign in to comment.
Something went wrong with that request. Please try again.