]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t2400: drop no-op `--sq` from rev-parse call
authorJacob Abel <jacobabel@nullpo.dev>
Wed, 26 Jul 2023 21:42:18 +0000 (21:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Jul 2023 21:49:02 +0000 (14:49 -0700)
Signed-off-by: Jacob Abel <jacobabel@nullpo.dev>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2400-worktree-add.sh

index 0ac468e69e904f161abe3c96148a23607315cfac..e106540c6d9c94325e3566ff0ec2dc83f538998a 100755 (executable)
@@ -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 &&