From: Federico Bruni Date: Sun, 4 Aug 2013 02:00:32 +0000 (+0200) Subject: Doc: how to update committishes of .texidoc files at once (issue 3485) X-Git-Tag: release/2.17.24-1~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f049cdff2fc6dff346a3e2e81460d53fe77ab0cd;p=lilypond.git Doc: how to update committishes of .texidoc files at once (issue 3485) --- 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}.