PBGitRepository: Don't return a ref if we error out
commit41a906d7159d8154924cbc81725923974c54cbff
authorPieter de Bie <pdebie@ai.rug.nl>
Tue, 28 Oct 2008 22:52:34 +0000 (28 23:52 +0100)
committerPieter de Bie <pdebie@ai.rug.nl>
Tue, 28 Oct 2008 23:24:10 +0000 (29 00:24 +0100)
tree70668b7aca9aef1d939e21d20f0babb51bbd299a
parent9382cbf266013f67a2f3b7faa8c0cb5238652363
PBGitRepository: Don't return a ref if we error out

This fixes the -parseReference: method to return nil if
there is an error in the git call. This also simplifies
our commit controller.
PBGitCommitController.m
PBGitRepository.m