DESCRIPTION

Preliminary support for ChangeSets

Adds proper representation of git changes that occurs between two ref's.
Changes are displayed as Team ChangeSet instance. All commits are listed
as a child's of node that represent repository. Every commit node
contains tree-list of all changed, added or deleted resources.

Bug: 318473
CQ: 4400
Change-Id: I198bb3859463ee7e0e230e22cf06761391436cd8
Signed-off-by: Malia Sampson xxx@xxx.xxx


COMMENTS

author: Malia Sampson
date: 2010-08-08 18:49:44.000000000

Uploaded patch set 4.

-------------------------------------
author: Carlie Harper
date: 2010-08-09 13:26:32.000000000

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

(1 inline comment)

When I have a folder containing just two locally added files the change is marked as incoming.

You should simplify the code calulating the commits, see inline comments.

Line:113, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/model/GitModelRepository.java -> This implementation is too complicated and uses too many low level JGit features.

You can use the API log command instead, once for the incoming and once for the outgoing changes:

Git git = new Git(repo);
it = git.log().addRange(ancestorCommit, srcRev).call().iterator() 
...

-------------------------------------
author: Leslie Stephenson
date: 2010-08-09 15:31:50.000000000

Patch Set 4: (1 inline comment)

> When I have a folder containing just two locally added files the change is marked as incoming.

This is rather bug in GitResourceVariantComparator then an issue in change set implementation.

Line:113, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/model/GitModelRepository.java -> Done

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