t2400: drop no-op `--sq` from rev-parse call
Signed-off-by: Jacob Abel <jacobabel@nullpo.dev> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jacob Abel committed
Jul 26, 2023 at 21:42 UTC
9111ea1cbeba0861ea1c90e16bea980be4910d8c
1 file changed
+1
-1
t/t2400-worktree-add.sh
+1
-1
@@ -995,7 +995,7 @@ test_dwim_orphan () {
995
grep "$invalid_ref_regex" actual &&
996
! grep "$orphan_hint" actual
997
else
998
- headpath=$(git $dashc_args rev-parse --sq --path-format=absolute --git-path HEAD) &&
998
+ headpath=$(git $dashc_args rev-parse --path-format=absolute --git-path HEAD) &&
999
headcontents=$(cat "$headpath") &&
1000
grep "HEAD points to an invalid (or orphaned) reference" actual &&
1001
grep "HEAD path:\s*.$headpath." actual &&