Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit ba53797d2c079e01cb209416f7b4753491c03cab 1 parent 0e81d4f
Fredrik Eldh authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  githooks/writeAttributeFile.rb
2  githooks/writeAttributeFile.rb
@@ -27,7 +27,7 @@ def includeOneOf?(array)
27 27 @outFile = open(outName, 'w')
28 28 inFile = open(inName, 'r')
29 29 def putLine(line)
30   - @outFile.puts line.gsub(' ', '\ ') + ' -diff' unless(line.includeOneOf?(CHECK_PATTERNS))
  30 + @outFile.puts line.gsub(' ', '.') + ' -diff' unless(line.includeOneOf?(CHECK_PATTERNS))
31 31 end
32 32 inFile.each do |line|
33 33 line.strip!

0 comments on commit ba53797

Please sign in to comment.
Something went wrong with that request. Please try again.