Skip to content

Commit c474f90

Browse files
author
root
committed
Why? ^^
1 parent ddac1e9 commit c474f90

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: lib/redmine_git_hosting/commands/gitolite.rb

+1-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ def gitolite_repository_count
4848
def sudo_repository_empty?(repo_path)
4949
repo_path = File.join(gitolite_home_dir, repo_path, 'objects')
5050
count = sudo_git_objects_count(repo_path)
51-
if count.to_i == 0
52-
true
53-
else
54-
false
55-
end
51+
count.to_i == 0
5652
end
5753

5854

0 commit comments

Comments
 (0)