From: Pavel Sanda Date: Mon, 18 Feb 2013 08:06:27 +0000 (-0800) Subject: * Additional.lyx - add git version info hint X-Git-Tag: 2.1.0beta1~654 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b7c04ebb1509d9f51ea4acf97fcc5ec0dbb5a009;p=features.git * Additional.lyx - add git version info hint --- 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