From: Christian Couder Date: Mon, 13 Jun 2016 08:55:41 GMT Subject: [RFC/PATCH 3/8] t0400: use --batch-all-objects to get all objects Message-ID: <20160613085546.11784-4-chriscool@tuxfamily.org> In-Reply-To: <20160613085546.11784-1-chriscool@tuxfamily.org> Signed-off-by: Christian Couder --- 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 2b01617..fe85413 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.9.0.rc2.362.g3cd93d0