Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-dev] merge tool workflow

Hi all,

One problem I keep running into with egit and merging is what is an efficient work flow for resolving conflicts.

Egit seems to provide two mechanisms for conflict resolution;

Resource decorations mark the resources (and their parents) with conflicts The merge tool can locate all modified resources in the selection and opens a 'structure compare' view (tree of files at the top, compare view at the bottom)

When I'm doing a large merge with lots of conflicts though I find that neither really provides a simple work flow to resolve the conflicts. The merge tool is helpful in that I can go through the structure compare select each file and then modify the workspace version to manually merge the changes, problem is from there you need to mark the file as resolved but there's no easy way to get to the 'Team->Add' menu since thats only available as a context menu on the resource and the project explorer (or navigation view) isn't synced with the structure compare.

What I'd really like to see is a new view that shows the state of the working space against the index (e.g. a git status view). That would be a simple table view that would be shown after a merge/rebase results in a conflict. The context menu on each item would be something like 'Add', 'Unstage'(?), 'Open in compare editor', 'Open' with the double click opening the compare editor. I've proposed a feature like this in [1] - I'd have a crack at implementing something like that but I've never worked on eclipse plugins so not really sure what is required.

Am I missing something in the current UI or does this make sense to the wider public?

cheers,
bern

1. https://bugs.eclipse.org/bugs/show_bug.cgi?id=335138




Back to the top