DESCRIPTION

Prevent UI freeze when getting HEAD commit info

getHeadCommitInfo() is potentially long running and should not freeze
the UI thread.

Bug: 457105
Change-Id: I73d4f9b31b2c40eea15416aea7059404e4c762d9
Signed-off-by: Douglas Trujillo xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2015-01-27 23:48:21.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/egit/job/egit-stable.gerrit/522/

-------------------------------------
author: Brenden Conley
date: 2015-01-27 23:48:24.000000000

Patch Set 1: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit-stable.gerrit/522/ : FAILURE

-------------------------------------
author: Brenden Conley
date: 2015-01-28 08:12:04.000000000

Patch Set 1: -Verified

Build Started https://hudson.eclipse.org/egit/job/egit-stable.gerrit/527/

-------------------------------------
author: Brenden Conley
date: 2015-01-28 08:27:38.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit-stable.gerrit/527/ : temporary update site https://hudson.eclipse.org/egit/job/egit-stable.gerrit/${BUILD_NUMBER}/artifact/org.eclipse.egit.repository/target/repository/

-------------------------------------
author: Jayvion Booth
date: 2015-02-04 19:48:31.000000000

Patch Set 1: Code-Review-1

I don't think this change changes much for the user (except additional progress dialog), because the calling thread (UI) will still need to wait until operation finishes. I haven't tried it, but the best test is to put breakpoint in the code which is wrapped via the task and check if UI is still blocked (yes it will be).

-------------------------------------
author: Douglas Trujillo
date: 2015-02-27 17:20:08.000000000

Abandoned

need to fix this in a different way

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