We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f81703c + 28888c6 commit e634393Copy full SHA for e634393
lib/ohloh_scm/adapters/git_svn/cat_file.rb
@@ -12,7 +12,7 @@ def cat_file_parent(commit, diff)
12
13
def cat(revision, file_path)
14
file_path = %Q{#{file_path}}
15
- run("cd #{self.url} && git show #{ revision }:#{ file_path }").strip
+ run("cd #{self.url} && git show #{ revision }:#{ file_path.shellescape }").strip
16
end
17
18
def git_commit(commit)
0 commit comments