diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-02 12:56:42 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-02 13:55:25 +0000 |
commit | bb45df49f36d3d06424e3467e6f7ff339beb94cf (patch) | |
tree | 51716d05a5423355295e3d98a4910472d30090a5 /morphlib/stopwatch_tests.py | |
parent | f56259c2ce62c301f0e0f9dd7c85001b45fc8f5c (diff) | |
download | morph-bb45df49f36d3d06424e3467e6f7ff339beb94cf.tar.gz |
Escape special characters and handle whitespace in gitattributesbaserock/adamcoldrick/git-fat-handle-whitespace-rebase
Since git's parsing of .gitattributes can't deal with spaces, or
even with quotes, replace any whitespace with [[:space:]]. Also,
make sure to escape any glob metacharacters to avoid accidental
pattern matches.
Note:
This approach could cause a file "foo<tab>bar" to be treated
as a binary if a file "foo bar" has already been added with
morph add-binary. However this is as good of a workaround as
I can find.
Signed-off by: Adam Coldrick
Diffstat (limited to 'morphlib/stopwatch_tests.py')
0 files changed, 0 insertions, 0 deletions