Permalink
Browse files

Fix order so they actually run

  • Loading branch information...
evanphx committed Aug 15, 2007
1 parent bd12deb commit e98f1df5bee8efe81260ca2c7998cff258f1ffe7
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/git.rb
View
@@ -24,10 +24,10 @@ def update_git
name = REXML::XPath.first(entry, "./author/name")
hash = link.attributes['href'].split("=").last
+ break if hash == last_hash
+
last_hash = hash if i == 1
- break if hash == last_hash
-
count = 0
REXML::XPath.each(entry, "./content/div/ul/li") { |e| count += 1 }
say "#{hash[0..7]} by #{name.text}, #{count} files changed"

0 comments on commit e98f1df

Please sign in to comment.