Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

githooks: Workaround for .gitattributes' lack of whitespace support.

  • Loading branch information...
commit ba53797d2c079e01cb209416f7b4753491c03cab 1 parent 0e81d4f
Fredrik Eldh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  githooks/writeAttributeFile.rb
View
2  githooks/writeAttributeFile.rb
@@ -27,7 +27,7 @@ def includeOneOf?(array)
@outFile = open(outName, 'w')
inFile = open(inName, 'r')
def putLine(line)
- @outFile.puts line.gsub(' ', '\ ') + ' -diff' unless(line.includeOneOf?(CHECK_PATTERNS))
+ @outFile.puts line.gsub(' ', '.') + ' -diff' unless(line.includeOneOf?(CHECK_PATTERNS))
end
inFile.each do |line|
line.strip!
Please sign in to comment.
Something went wrong with that request. Please try again.