]> git.lyx.org Git - features.git/commitdiff
* Additional.lyx - add git version info hint
authorPavel Sanda <sanda@lyx.org>
Mon, 18 Feb 2013 08:06:27 +0000 (00:06 -0800)
committerPavel Sanda <sanda@lyx.org>
Mon, 18 Feb 2013 08:06:59 +0000 (00:06 -0800)
lib/doc/Additional.lyx

index 0b6a927bbad2eb84ec091f072c705562dc72c186..cdc21a67f21b3a8a19478b9c60b23459bd165a01 100644 (file)
@@ -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