Move Commit and Repository logic to lib/gitlab/git
specs for Gitlab::Git::Repository and Gitlab::Git::Commit
Remove grit logic from app/
Fix tests and remove app/models/repository.rb
Decorate Gitlab::Git::Commit with Commit
Remove Commit & Tree decorators
Add Repository model to proxy request to Gitlab::Git::Repositoty and decorate commits with Commit model
rake task to clear redis cache
remove Tree/Commit decorator usage from controllers
Move some decorator logic to helpers
Remove decorator calls and methods from views. Repalace with helper calls when needed
Extend models functionality with old decorator methods. Use Repository model
remove unnecessary Commit.new
Fix stubbed repo
define TestEnv and keep all global stubs in one place
added Gitlab::Git::Blame for git blame feature
added Gitlab::Git::Compare for git compare feature
Use Gitlab::Git:: for git features across application
Project.repository should never be nil so you can call repository.exists? or repository.empty?
Also specify separate project factory for project with filled repo
Dont init repo on every create(:repo)