Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.

Commit

Permalink
Fix fetching refs
Browse files Browse the repository at this point in the history
  • Loading branch information
jvatic committed Jul 10, 2013
1 parent dd2496d commit 6dc4d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tentd/refs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def fetch_with_proxy(*posts, max_refs)
unless reffed_posts.size == max_refs
foreign_refs = foreign_refs.inject([]) do |memo, ref|
# skip over refs that are already found
next if reffed_posts.any? { |post|
next memo if reffed_posts.any? { |post|
if ref['version']
post.entity == ref['entity'] && post.public_id == ref['post'] && post.version == ref['version']
else
Expand Down

0 comments on commit 6dc4d59

Please sign in to comment.