tests: suppress "Checked out 1 paths of <hash>" from modern git
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 16 Jan 2019 21:32:15 -0800
changeset 41287 c0221d929eb9
parent 41286 00b314c42094
child 41288 17941fc53ae9
tests: suppress "Checked out 1 paths of <hash>" from modern git test-convert-git.t is failiing since git commit 0f086e6dca (checkout: print something when checking out paths, 2018-11-13). Suppress the new output by disambiguating the arguments with a "--" separator. Differential Revision: https://phab.mercurial-scm.org/D5625
tests/test-convert-git.t
--- a/tests/test-convert-git.t	Sun Jan 13 14:56:26 2019 +0900
+++ b/tests/test-convert-git.t	Wed Jan 16 21:32:15 2019 -0800
@@ -750,7 +750,7 @@
 test missing .gitmodules
 
   $ git submodule add ../git-repo4 >/dev/null 2>/dev/null
-  $ git checkout HEAD .gitmodules
+  $ git checkout HEAD -- .gitmodules
   $ git rm .gitmodules
   rm '.gitmodules'
   $ git commit -q -m "remove .gitmodules" .gitmodules