public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
Search Repo:
Print less from *-receive hooks
Johan Sørensen (author)
Mon Apr 28 12:11:49 -0700 2008
commit  35ad4575858b22e34b6a4426e6d933d7b0a0c9a9
tree    9114d29bfed6eaa65da43d7e46713cdce5cd52f0
parent  d3372aaf74ae26643e03e11f2cccdb9d65849457
...
18
19
20
21
 
22
23
24
...
130
131
132
133
 
...
18
19
20
 
21
22
23
24
...
130
131
132
 
133
0
@@ -18,7 +18,7 @@
0
 git = Grit::Git.new(gitdir)
0
 
0
 while line = gets
0
- puts "@@> #{line.inspect}"
0
+ #puts "@@> #{line.inspect}"
0
   # 3b480c5c30962c9f5b82a9c61a75992dc605de21 ee27ee3a022802c0569f9cdef6e9ad29aea096a8 refs/heads/master\n
0
   oldrev, newrev, revname = line.split(" ")
0
   current_rev = newrev
0
@@ -130,5 +130,5 @@
0
   project.create_event(action_id, repository, user, ref, hash[:message])
0
 end
0
 
0
-puts "=> Thanks! http://#{GitoriousConfig['gitorious_host']}/events"
0
+puts "[OK]"
...
2
3
4
5
 
6
7
8
9
10
...
2
3
4
 
5
6
7
8
 
 
0
@@ -2,10 +2,8 @@
0
 current_dir = File.expand_path(File.dirname(__FILE__))
0
 app_root = File.join(current_dir, "../../")
0
 
0
-print "=> Wait... "
0
+print "=> Syncing Gitorious... "
0
 $stdout.flush
0
 ENV["RAILS_ENV"] ||= "production"
0
 require File.join(app_root,"/config/environment")
0
-
0
-puts "[OK]"

Comments

    No one has commented yet.