Better names. headRef is a PBGitRef and headRevSpecifier is a PBGitRevSpecifier
Refactor. Extract methods that modify the refs dictionary.
Move baseCommitsForLocalRefs and baseCommitsForRemoteRefs to PBGitRepository.
Create property to get the set of all ref shaw.
Add refsForSHA and setRefs:forSHA:
Post notifications after updating refs instead of abusing KVO for this.
Hide refs property from clients of PBGitRepository.
Move more code about refs from PBGitCommit to PBGitRepository.
Return a read-only copy of the refs.
Use actual type.
Implement isEqual: and hash for PBGitRef
Remove unused details property from PBGitCommit
Remove unused hasRef: methods
Remove last API to allow access to the underlying mutable arrays in the refs dictionary. All changes have to go through addRef:forSHA: and removeRef:forSHA:
Remove methods that only forward to PBGitRepository.