Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout: allow detaching to HEAD even when switching to the tip of a branch
[gitweb.git]
/
t
/
t3100-ls-tree-restrict.sh
diff --git
a/t/t3100-ls-tree-restrict.sh
b/t/t3100-ls-tree-restrict.sh
index 2ec06d3d3979aad18b4594329e93407d33f8cae5..e10749245b454f4c71486e536049cbf5b09259d5 100755
(executable)
--- a/
t/t3100-ls-tree-restrict.sh
+++ b/
t/t3100-ls-tree-restrict.sh
@@
-35,7
+35,7
@@
_x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
test_output () {
sed -e "s/ $_x40 / X /" <current >check
-
diff -u
expected check
+
git diff
expected check
}
test_expect_success \