Commit 6cbd3caf authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove redundant rescue from repository keep_around

parent fbc13640
......@@ -274,11 +274,7 @@ class Repository
end
def kept_around?(sha)
begin
ref_exists?(keep_around_ref_name(sha))
rescue Rugged::ReferenceError
false
end
end
def tag_names
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment