commit:     472776d8d36625dc3f6ba638b4a2353424438245
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May  4 20:06:17 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May  4 20:07:12 2018 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=472776d8

pms.cls: Output git branch information too, if not on master.

 pms.cls | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pms.cls b/pms.cls
index 8e18929..e8a444d 100644
--- a/pms.cls
+++ b/pms.cls
@@ -169,6 +169,8 @@
 \newcommand{\commitinfo}{%
     \ifthenelse{\equal{\gitCommitterDate}{(None)}}{}{%
         This version corresponds to commit \gitAbbrevHash
+        \ifthenelse{\equal{\gitBranch}{\detokenize{master}}}{}
+        { on branch \gitBranch}%
         \ifthenelse{\equal{\gitDirty}{}}{}{ with local changes}.%
     }%
 }

Reply via email to