mirror of
https://github.com/git/git.git
synced 2026-01-18 06:34:21 +00:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
926c40d04b
commit
9111ea1cbe
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user