Skip to content

Commit ae6e1a3

Browse files
author
root
committed
Fix wrong Repository Git objects count
1 parent 9aceb7b commit ae6e1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/models/concerns/gitolitable/validations.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def empty_in_gitolite?
5454

5555

5656
def git_objects_count
57-
RedmineGitHosting::Commands.sudo_git_objects_count(gitolite_repository_path)
57+
RedmineGitHosting::Commands.sudo_git_objects_count(File.join(gitolite_repository_path, 'objects'))
5858
end
5959

6060

0 commit comments

Comments
 (0)