Permalink
Browse files

specify archive format (required for some versions of git)

  • Loading branch information...
1 parent 2664a8c commit f5dab6c011ebf3ee9d667770fc64293717e2f43e @danp danp committed Apr 27, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vlad/git.rb
View
@@ -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

0 comments on commit f5dab6c

Please sign in to comment.