Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-check-attr: Demonstrate problems with unnormalized paths
author
Michael Haggerty
<mhagger@alum.mit.edu>
Thu, 4 Aug 2011 04:47:44 +0000
(06:47 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 4 Aug 2011 22:57:17 +0000
(15:57 -0700)
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0003-attributes.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
fa92f32
)
diff --git
a/t/t0003-attributes.sh
b/t/t0003-attributes.sh
index 4f2fbc07810e729abc54872d6d5b2bec11836309..43957eae686203df6bda61a61fab791819b0804f 100755
(executable)
--- a/
t/t0003-attributes.sh
+++ b/
t/t0003-attributes.sh
@@
-93,6
+93,15
@@
test_expect_success 'attribute test' '
'
+test_expect_failure 'unnormalized paths' '
+
+ attr_check ./f f &&
+ attr_check ./a/g a/g &&
+ attr_check a/./g a/g &&
+ attr_check a/c/../b/g a/b/g
+
+'
+
test_expect_success 'core.attributesfile' '
attr_check global unspecified &&
git config core.attributesfile "$HOME/global-gitattributes" &&