Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
 t/t0400-external-odb.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/t/t0400-external-odb.sh b/t/t0400-external-odb.sh
index 2b016173a0..fe85413725 100755
--- a/t/t0400-external-odb.sh
+++ b/t/t0400-external-odb.sh
@@ -10,9 +10,7 @@ write_script odb-helper <<\EOF
 GIT_DIR=$ALT_SOURCE; export GIT_DIR
 case "$1" in
 have)
-       git rev-list --all --objects |
-       cut -d' ' -f1 |
-       git cat-file --batch-check |
+       git cat-file --batch-check --batch-all-objects |
        awk '{print $1 " " $3 " " $2}'
        ;;
 get)
-- 
2.11.0.rc2.37.geb49ca6

Reply via email to