From: Jacob Abel Date: Wed, 26 Jul 2023 21:42:18 +0000 (+0000) Subject: t2400: drop no-op `--sq` from rev-parse call X-Git-Tag: v2.42.0-rc0~7^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9111ea1cbeba0861ea1c90e16bea980be4910d8c;p=thirdparty%2Fgit.git t2400: drop no-op `--sq` from rev-parse call Signed-off-by: Jacob Abel Signed-off-by: Junio C Hamano --- diff --git a/t/t2400-worktree-add.sh b/t/t2400-worktree-add.sh index 0ac468e69e..e106540c6d 100755 --- a/t/t2400-worktree-add.sh +++ b/t/t2400-worktree-add.sh @@ -995,7 +995,7 @@ test_dwim_orphan () { grep "$invalid_ref_regex" actual && ! grep "$orphan_hint" actual else - headpath=$(git $dashc_args rev-parse --sq --path-format=absolute --git-path HEAD) && + headpath=$(git $dashc_args rev-parse --path-format=absolute --git-path HEAD) && headcontents=$(cat "$headpath") && grep "HEAD points to an invalid (or orphaned) reference" actual && grep "HEAD path:\s*.$headpath." actual &&