summaryrefslogtreecommitdiff
path: root/t/t0020-crlf.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-15 14:56:09 -0700
committerJunio C Hamano <junkio@cox.net>2007-04-15 15:49:41 -0700
commite4aee10a2eaf0937d86d046f85ee569a75cae9ac (patch)
tree23300fe84d1e3f9c2c6f0d873c103bb09fc491ed /t/t0020-crlf.sh
parentfc2d07b05fb691f98b3a55c1499fae6fb25a7d31 (diff)
downloadgit-e4aee10a2eaf0937d86d046f85ee569a75cae9ac.tar.gz
Change attribute negation marker from '!' to '-'.
At the same time, we do not want to allow arbitrary strings for attribute names, as we are likely to want to extend the syntax later. Allow only alnum, dash, underscore and dot for now. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t0020-crlf.sh')
-rwxr-xr-xt/t0020-crlf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0020-crlf.sh b/t/t0020-crlf.sh
index 600dcd30a0..cf84f0a1ab 100755
--- a/t/t0020-crlf.sh
+++ b/t/t0020-crlf.sh
@@ -216,7 +216,7 @@ test_expect_success 'apply patch --index (autocrlf=true)' '
test_expect_success '.gitattributes says two is binary' '
- echo "two !crlf" >.gitattributes &&
+ echo "two -crlf" >.gitattributes &&
rm -f tmp one dir/two &&
git repo-config core.autocrlf true &&
git read-tree --reset -u HEAD &&