Please sign in to comment.
GitRepository: Cache HEAD ref
Since 63523d0 (History view: Make lozenge of currently checked out branch (HEAD) bold, same as gitk.), -[PBGitRepository headRef] was called every time a cell needed redrawing. This made GitX slow overall, but especially when resizing the window. So, it's better to cache the value. We'll still reload it with an explicit refresh though.
- Loading branch information...
Showing with 11 additions and 3 deletions.