From b7c04ebb1509d9f51ea4acf97fcc5ec0dbb5a009 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 18 Feb 2013 00:06:27 -0800 Subject: [PATCH] * Additional.lyx - add git version info hint --- lib/doc/Additional.lyx | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/lib/doc/Additional.lyx b/lib/doc/Additional.lyx index 0b6a927bba..cdc21a67f2 100644 --- a/lib/doc/Additional.lyx +++ b/lib/doc/Additional.lyx @@ -1,5 +1,5 @@ #LyX 2.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 460 +\lyxformat 462 \begin_document \begin_header \textclass scrbook @@ -21843,6 +21843,33 @@ git log is shown in a browser. \end_layout +\begin_layout Subsubsection +Version Info +\end_layout + +\begin_layout Standard +LyX supports GIT hash number of the last commit to the file, author name, + date and time of last commit. + All those are extracted from +\family typewriter +git log -n 1 --pretty=format:%H%n%an%n%ai +\family default +. + Tree version information is obtained via +\family typewriter +git describe --abbrev --dirty --long +\family default +. + See +\begin_inset CommandInset ref +LatexCommand ref +reference "sub:VCS-Revision-Information" + +\end_inset + + for other details. +\end_layout + \begin_layout Subsection Further tuning \end_layout -- 2.39.5