DESCRIPTION

Improve performance of the refs tree views

Instead of calling getRefs over and over call it only when needed, i.e
the first time and if the refs in a repository are updated.

Change-Id: I2c9e167c7282c822f0b1cc2b50dc99143c3ba855


COMMENTS

author: Juliet Cantu
date: 2011-12-28 00:25:45.000000000

Uploaded patch set 3.

-------------------------------------
author: Marlie Beasley
date: 2012-01-11 14:49:40.000000000

Patch Set 3: I would prefer that you didn't submit this

(2 inline comments)



Line:506, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesViewContentProvider.java -> Listener may be triggered for repo A, but last assignment of refsChangedListener was related to repo B.

Line:510, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesViewContentProvider.java -> I think there should be one refsChangedListener per repo.
If there are two repositories it can happen that one listener is not unregistered.

-------------------------------------
author: Juliet Cantu
date: 2012-01-11 22:40:41.000000000

Patch Set 3: (2 inline comments)



Line:506, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesViewContentProvider.java -> Done

Line:510, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesViewContentProvider.java -> Done

-------------------------------------
author: Gerrit Johnathan Pham
date: 2012-01-12 09:50:43.000000000

Your change could not be merged due to a path conflict.

Please merge (or rebase) the change locally and upload the resolution for review.

-------------------------------------
