Skip to content

Commit e634393

Browse files
author
karthik
authored
Merge pull request #102 from blackducksoftware/OTWO-5512
OTWO-5512 Escape Space in Filename
2 parents f81703c + 28888c6 commit e634393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ohloh_scm/adapters/git_svn/cat_file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def cat_file_parent(commit, diff)
1212

1313
def cat(revision, file_path)
1414
file_path = %Q{#{file_path}}
15-
run("cd #{self.url} && git show #{ revision }:#{ file_path }").strip
15+
run("cd #{self.url} && git show #{ revision }:#{ file_path.shellescape }").strip
1616
end
1717

1818
def git_commit(commit)

0 commit comments

Comments
 (0)