]> git.ipfire.org Git - thirdparty/git.git/commit
doc: fix synopsis analysis logic
authorJean-Noël Avila <jn.avila@free.fr>
Sat, 12 Apr 2025 12:20:45 +0000 (12:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Apr 2025 21:43:52 +0000 (14:43 -0700)
commit115a753dd02d3467e446b4d49957b7f7c8ac5627
tree74eb2ff224b3f5398545a3fe2c766dc634db8361
parent5130704fca1eb19bc41910e6a70571f1f74794fb
doc: fix synopsis analysis logic

The synopsis analysis logic was not able to handle backslashes and stars
which are used in the synopsis of the git-rm command. This patch fixes the
issue by updating the regular expression used to match the keywords.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/asciidoc.conf.in
Documentation/asciidoctor-extensions.rb.in