Skip to content
Snippets Groups Projects
Commit 6cbd3caf authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Remove redundant rescue from repository keep_around

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