Show author and committer info for commits in Interactive Rebase view

Provides additional context that helps for rebases involving old commits
and/or commits by multiple authors. The new columns and the commit
message column are automatically resized now to match their contents'
widths.

Change-Id: I28d8b6b475c93fd1310608ca260fecf1df64bb52
Signed-off-by: Konrad Kügler <swamblumat-eclipsebugs@yahoo.de>
Add a config option for the default source ref when branching

  [workflow]
        defbranchstartpoint = refs/remotes/origin/master

This change is needed to enable the automatic creation and
checkout of branches based on the active task.

Bug: 309578
Change-Id: I66b0997a697978d90edf6ec946dc1ab7f8d4466b
AlsoBy: Steffen Pingel <steffen.pingel@tasktop.com>
AlsoBy: Manuel Doninger <manuel.doninger@googlemail.com>
Signed-off-by: Steffen Pingel <steffen.pingel@tasktop.com>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
UI support for pruned references in fetch results

When fetching with the prune mode enabled, show the pruned references
(especially deleted remote-tracking branches) in the fetch result table.

Fetching with reference pruning is available in EGit through git config
support recently introduced to JGit (see
https://git.eclipse.org/r/#/c/21845/ ).

Change-Id: I5e8cadce7e91f255c92d842a016e4844d2f84f23
Signed-off-by: Konrad Kügler <swamblumat-eclipsebugs@yahoo.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Show rebase result status text in red for all failure states

Used to be done only for Status.FAILED and Status.CONFLICTS, but makes
sense for all unsuccessful states.

Change-Id: I6d402402d820ed7843906aad48e670b2722b4fe1
Signed-off-by: Konrad Kügler <swamblumat-eclipsebugs@yahoo.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
[historyView] Option to shorten long branch and tag names at start

Bug: 415400
Change-Id: Ic7ec6773455adfb55787bcc2f1dadf00871cd7c3
Signed-off-by: Jan Koops <Jan_Koops@tk-online.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
In 'Search Git Repositories' wizard resolve variables in repository path

Bug: 384998
Change-Id: Ie97804d4cda39bb7fab37bf47d697e9193dcf130
Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Disable cleaning if selection is empty

The current implementation runs the git clean command even if no file or
directory is selected in the clean wizard. That may take quite some time
and may lead to cleaning the repository although the user expected
nothing to be cleaned.

Change-Id: If59bd58b0204a069d9cf77b5ffa05d4d566cf802
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Robin Stocker <robin@nibor.org>
Make "Clean..." available on project under Team > Advanced

Change the action handler to extend RepositoryActionHandler, so that the
same one can be used for both repositories view and team menu.

Also add the missing mnemonic.

Bug: 418210
Change-Id: Ic7ab20dead4cdd1590a5b263dc670da3d70a41d5
Signed-off-by: Robin Stocker <robin@nibor.org>
[historyView] Ref shortening with "..." can be longer than original

Also count the "..." for the max ref length. To compensate for
shortening more than before, increase the default max length to 18.

Before: "origin/stable-3..."
After:  "origin/stable-3.3"

Bug: 428201
Change-Id: I5a79b98902268f445355aa60f7747f0d448bd259
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Push Branch: Add checkbox for force push

Bug: 426919
Change-Id: If984e6b15388cb31c7e56eb803eacbc4657f8dc9
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Push Branch: Preselect merge/rebase if branch already configured

In case the branch already has an upstream configuration, preselect the
correct configuration in the wizard. With that, it's not overwritten
with different values than before if the user is not careful.

Also, only show the "overwrite" warning when the chosen values differ
from the existing configuration.

Bug: 426223
Change-Id: Iac5f993cc2e2b56c579b5779cc1647c121c2c3a5
Signed-off-by: Robin Stocker <robin@nibor.org>
[historyView] Fix flickering of commit message scroll bars on mouse move

This only occurs on Windows, but let's revert this small aesthetic
change until we can fix the root cause, see bug.

Bug: 428029
Change-Id: I452c7e306fd39074110d3d5228752c29124e962d
Signed-off-by: Robin Stocker <robin@nibor.org>
Prevent premature UI refreshes by batching resource changed events

All long running operations which may potentially lead to premature UI
refreshes e.g. by changing files in the file system should use
WorkspaceJob. This will batch resource change events until the job is
finished running and remove the overhead imposed by repeated UI
refreshes reacting on events trickling in if not batched.

See
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2FresAdv_concurrency.htm

Bug: 427681
Change-Id: Ibdc454f5ffb290831b81c5e775da35434811454c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
EGit v3.3.0.201402191814-rc1

Change-Id: Ieba89e1613752cbac651f815769d726da560af8e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Prepare post 3.3.0RC1 builds

Change-Id: I84320de2306ef228554cd4a4a519923b029f205f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix NPE in RepositoriesViewContentProvider.getChildren for FOLDER

File#listFiles can unfortunately return null (instead of an empty
array).

Bug: 428654
Change-Id: I41d44a9bfdfd9ee9fb7749977a72d0d1ddedafe1
Signed-off-by: Robin Stocker <robin@nibor.org>
Add new feature o.e.jgit.http.apache to p2 repository

JGit-Dependency: I5ef5e00c53678b9e1d7cfd54bbca3ff6f1c1c967
Change-Id: I4adfecd56d84ee24a50cadb1700c8be56e4172a3
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Merge "Add new feature o.e.jgit.http.apache to p2 repository" into stable-3.3
Merge branch 'stable-3.3'

* stable-3.3:
  Add new feature o.e.jgit.http.apache to p2 repository
  Fix NPE in RepositoriesViewContentProvider.getChildren for FOLDER
  Prepare post 3.3.0RC1 builds
  EGit v3.3.0.201402191814-rc1
  Prevent premature UI refreshes by batching resource changed events
  [historyView] Fix flickering of commit message scroll bars on mouse move
  Push Branch: Preselect merge/rebase if branch already configured
  Push Branch: Add checkbox for force push
  [historyView] Ref shortening with "..." can be longer than original
  Make "Clean..." available on project under Team > Advanced
  Disable cleaning if selection is empty
  In 'Search Git Repositories' wizard resolve variables in repository path

Change-Id: I6c287d479d222255bc4327f08e826e4ea12c2edb
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Don't do rename detection in Quickdiff if disabled in repo config

Disables rename detection also in Quickdiff if diff.renames=false.

Change-Id: Id719f85353996eeed22fd223c4a5f044f7a1fb02
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>