From f049cdff2fc6dff346a3e2e81460d53fe77ab0cd Mon Sep 17 00:00:00 2001 From: Federico Bruni Date: Sun, 4 Aug 2013 04:00:32 +0200 Subject: [PATCH] Doc: how to update committishes of .texidoc files at once (issue 3485) --- Documentation/contributor/doc-work.itexi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/contributor/doc-work.itexi b/Documentation/contributor/doc-work.itexi index 8b4e1d9b07..bd7a4aa317 100644 --- a/Documentation/contributor/doc-work.itexi +++ b/Documentation/contributor/doc-work.itexi @@ -2075,6 +2075,17 @@ git rev-list HEAD |head -1 @c contains a helper script which could be used to perform massive @c committish updates. +Most of the changes in the LSR snippets included in the documentation concern +the syntax, not the description inside @code{texidoc=""}. This implies that +quite often you will have to update only the committish of the matching +.texidoc file. This can be a tedious work if there are many snippets to be +marked as up do date. You can use the following command to update the +committishes at once: + +@example +cd Documentation/LANG/texidocs +sed -i -r 's/[0-9a-z]@{40@}/NEW-COMMITTISH/' *.texidoc +@end example @seealso @ref{LSR work}. -- 2.39.2