Turns out that comparing repositories is an absolute shitshow. Let's just compare against the repository file URLs.
This works way better in practice.
Repository equality is dumb. Let's go shopping.
Consistent whitespace ++
Is there any reason not to fix this on GTRepository? It sounds like repository equality is useless in general right now.
I thought about that, however that seemed rather a different problem to solve than this specific case. I.e. what is an "equal" repository? Is it just the same one as on disk?
That's all that's required in this case but a more general equality check may make sense with different requirements.
Well, it looks like GTRepository doesn't even have a sensible -isEqual: right now, so anything would be better than that.
That's fair. I'll move this to isEqual:
Move repository equality check into the repo itself.