summaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--stdout_initial..main^
diff options
context:
space:
mode:
authorJean-Noël Avila <jn.avila@free.fr>2025-12-20 19:16:23 +0000
committerJunio C Hamano <gitster@pobox.com>2025-12-21 11:33:09 +0900
commitf53f133d8d456559daa5d06e1e7ddb09b1cc0ae5 (patch)
treeda3f56ebcbc37512b526310054e47d7cbe5d2e17 /t/t4013/diff.format-patch_--stdout_initial..main^
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed (diff)
downloadgit-f53f133d8d456559daa5d06e1e7ddb09b1cc0ae5.tar.gz
git-f53f133d8d456559daa5d06e1e7ddb09b1cc0ae5.zip
doc: fix t0450-txt-doc-vs-help to select only first synopsis block
In case there are multiple synopsis blocks (declared with [synopsis] or [verse] style) in the same file, the previous implementation was incorrectly picking up text from all the blocks until the first empty line. This commit modifies the sed command to stop processing upon encountering the first empty line after the first block declaration, thereby ensuring that only the intended block is captured. Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--stdout_initial..main^')
0 files changed, 0 insertions, 0 deletions