Handle a revision that only creates a new tag correctly.
[gitweb.git] / t / t3100-ls-tree-restrict.sh
index 61a7c7f6424c6fceedfd1e3a0d18f078896613e6..c6ce56c86b95ae778b5e044999f8c5d8c0c70816 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'