[PATCH] Make the test more shell generic and fix missing Solaris find option
[git.git] / t / t3100-ls-tree-restrict.sh
index 61a7c7f..c6ce56c 100755 (executable)
@@ -27,7 +27,7 @@ test_expect_success \
      ln -s ../path1 path2/bazbo &&
      echo Mi >path2/baz/b &&
      find path? \( -type f -o -type l \) -print |
-     xargs git-update-cache --add &&
+     xargs git-update-index --add &&
      tree=`git-write-tree` &&
      echo $tree'