aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-01-12 05:19:51 -0800
committerJunio C Hamano <gitster@pobox.com>2026-01-12 05:19:52 -0800
commit6a4b4e78807b16fbf8eee789e99f8448370a8c82 (patch)
tree6c0649f2f20357869939d551c52c5509f7371433 /t
parentd529f3a197364881746f558e5652f0236131eb86 (diff)
parentacffc5e9e54f5632abefe53d0914007709d409ce (diff)
downloadgit-6a4b4e78807b16fbf8eee789e99f8448370a8c82.tar.xz
Merge branch 'ja/doc-synopsis-style-more'
More doc style updates. * ja/doc-synopsis-style-more: doc: convert git-remote to synopsis style doc: convert git stage to use synopsis block doc: convert git-status tables to AsciiDoc format doc: convert git-status to synopsis style doc: fix t0450-txt-doc-vs-help to select only first synopsis block
Diffstat (limited to 't')
-rwxr-xr-xt/t0450-txt-doc-vs-help.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0450-txt-doc-vs-help.sh b/t/t0450-txt-doc-vs-help.sh
index e12e18f97f..822b0d55a5 100755
--- a/t/t0450-txt-doc-vs-help.sh
+++ b/t/t0450-txt-doc-vs-help.sh
@@ -56,7 +56,7 @@ adoc_to_synopsis () {
b2t="$(builtin_to_adoc "$builtin")" &&
sed -n \
-E '/^\[(verse|synopsis)\]$/,/^$/ {
- /^$/d;
+ /^$/q;
/^\[(verse|synopsis)\]$/d;
s/\{litdd\}/--/g;
s/'\''(git[ a-z-]*)'\''/\1/g;