phpnode/YiiGit — pull request #6 by musterknabe (2012-04-19 10:40:06+00:00)
Title: API changes to better reflect git's structure 

These are my proposed changes to get the API more aligned with git's understanding of commits, branches and tags. The changes brake the existing API a bit, but I think they're necessary.

Moved tag and commit handling out of AGitBranch into AGitRepository
Decoupled AGitCommit from AGitBranch
Commit and tag metadata is now lazy loaded when it is being accessed the first time.
Added tag and branch stuff to AGitRemote
Added $defaultRemote and getRemote() to AGitRepository
Added toString functions to most classes

This is not ready for merge yet. Just wanted to get the discussion started.
Sorry for the hard to read commits.