# File lib/gitlab_git/git_stats.rb, line 12 def log log = nil Grit::Git.with_timeout(timeout) do # Limit log to 6k commits to avoid timeout for huge projects args = [ref, '-6000', '--format=%aN%x0a%aE%x0a%cd', '--date=short', '--shortstat', '--no-merges', '--diff-filter=ACDM'] log = repo.git.native(:log, {}, args) end log rescue Grit::Git::GitTimeout nil end
Generated with the Darkfish Rdoc Generator 2.