summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-12-14 17:04:37 +0900
committerJunio C Hamano <gitster@pobox.com>2025-12-14 17:04:37 +0900
commit2378ebcb588cb08fc2a353fbfd1891ce53d15d54 (patch)
treebaeea6938d5d3e52df64b3197f7a0fbf14824cc7 /t
parentc382988d7bca3bcae3119e550ff5b29bf8af0d6a (diff)
parentb14f1df9f26cf87856cf6767847ccb4a5b31499b (diff)
Merge branch 'kh/advise-w-git-help-in-branch'
A help message from "git branch" now mentions "git help" instead of "man" when suggesting to read some documentation. * kh/advise-w-git-help-in-branch: branch: advice using git-help(1) instead of man(1)
Diffstat (limited to 't')
-rwxr-xr-xt/t3200-branch.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index f3e720dc10..c58e505c43 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -1707,9 +1707,9 @@ test_expect_success '--track overrides branch.autoSetupMerge' '
'
test_expect_success 'errors if given a bad branch name' '
- cat <<-\EOF >expect &&
- fatal: '\''foo..bar'\'' is not a valid branch name
- hint: See `man git check-ref-format`
+ cat <<-EOF >expect &&
+ fatal: ${SQ}foo..bar${SQ} is not a valid branch name
+ hint: See ${SQ}git help check-ref-format${SQ}
hint: Disable this message with "git config set advice.refSyntax false"
EOF
test_must_fail git branch foo..bar >actual 2>&1 &&