[Xfce4-commits] <moka:nick/maintainer-improvements> Submit timestamp in cgit file.

Nick Schermer noreply at xfce.org
Sat Nov 19 14:34:01 CET 2011


Updating branch refs/heads/nick/maintainer-improvements
         to bd52cc77a00988bcb2ff3a175b680fe58a27f6d6 (commit)
       from d0292b34ed5ac09216c92e31d76956adc451c193 (commit)

commit bd52cc77a00988bcb2ff3a175b680fe58a27f6d6
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Nov 19 14:32:10 2011 +0100

    Submit timestamp in cgit file.

 lib/helpers/cgit.rb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/helpers/cgit.rb b/lib/helpers/cgit.rb
index 949b88a..52c5ea3 100644
--- a/lib/helpers/cgit.rb
+++ b/lib/helpers/cgit.rb
@@ -8,7 +8,9 @@ module Moka
 
     def run(repofile, gitpath, prepend_files = nil)
 
-      conf = "# This file is generated by Moka\n\n"
+      conf = "# This file is generated by Moka at\n" +
+             "# " + Time.now.to_s + "\n\n"
+
       public = Moka::Models::Group.get('public')
 
       for classification in Moka::Models::Classification.find_all.sort


More information about the Xfce4-commits mailing list