Call ->diff on the Commit instance.
authorZachary Stevens <zts@cryptocracy.com>
Sat, 26 Jun 2010 15:28:50 +0000 (16:28 +0100)
committerZachary Stevens <zts@cryptocracy.com>
Sat, 26 Jun 2010 17:47:04 +0000 (18:47 +0100)
commit586572a7b628cb273cd639d242730d5ae9c6f80f
tree7f13e0352af9fe0a9a0da7b887d4f10f5c309c74
parent2a1234952f4850368d7f69ac72015c239f296dd1
Call ->diff on the Commit instance.

Previously, the controller was calling Repository->diff(),
which delegated this call to the given Commit instance.  We
now use Commit->diff() directly.

This commit also cleans up the signature for Commit->diff(),
and removes Repository->diff().
lib/Gitalist/Controller/Fragment/Ref.pm
lib/Gitalist/Controller/Ref.pm
lib/Gitalist/Git/Object/Commit.pm
lib/Gitalist/Git/Repository.pm