public
Fork of pjhyett/github-services
Description: Official GitHub Services Integration
Homepage: http://github.com/blog/53-github-services-ipo
Clone URL: git://github.com/tekkub/github-services.git
Search Repo:
Subtract the current commit from the additional commits count
tekkub (author)
Thu Jul 24 00:24:32 -0700 2008
commit  785ff0aa5800ea69739727a58726129a37017549
tree    6f3a7b190ada45e0d37beefb9143ec8b2e4dcf21
parent  308fb8f213a03297d7ccf8328337a1abcf9add17
...
42
43
44
45
 
46
47
48
...
42
43
44
 
45
46
47
48
0
@@ -42,7 +42,7 @@ service :cia do |data, payload|
0
   commits = payload['commits']
0
 
0
   if commits.size > 5
0
- message = build_cia_commit(repository, branch, payload['after'], commits[payload['after']], commits.size)
0
+ message = build_cia_commit(repository, branch, payload['after'], commits[payload['after']], commits.size - 1)
0
     server.call("hub.deliver", message)
0
   else
0
     commits.each do |sha1, commit|

Comments

    No one has commented yet.