subtree: improve decision on merges kept in split
[gitweb.git] / t / t5318-commit-graph.sh
index 3c1ffad49144d177a56f2f6a0b26612899e25adb..0c500f7ca2641a2752f5d4819bb11efcf5f588bf 100755 (executable)
@@ -134,7 +134,7 @@ test_expect_success 'Add one more commit' '
        git branch commits/8 &&
        ls $objdir/pack | grep idx >existing-idx &&
        git repack &&
-       ls $objdir/pack| grep idx | grep -v --file=existing-idx >new-idx
+       ls $objdir/pack| grep idx | grep -v -existing-idx >new-idx
 '
 
 # Current graph structure: