Skip to content
代码片段 群组 项目
提交 6cbd3caf 编辑于 作者: Grzegorz Bizon's avatar Grzegorz Bizon
浏览文件

Remove redundant rescue from repository keep_around

上级 fbc13640
No related branches found
No related tags found
无相关合并请求
......@@ -274,11 +274,7 @@ def keep_around(sha)
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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册