Prevent IllegalStateException in GitHistoryView
commit3da0c474002fa50340c341dec651c1b95d0c5115
authorThomas Wolf <thomas.wolf@paranor.ch>
Mon, 16 Nov 2015 22:52:07 +0000 (16 23:52 +0100)
committerAndrey Loskutov <loskutov@gmx.de>
Wed, 18 Nov 2015 22:03:49 +0000 (18 23:03 +0100)
tree38e281169f960831b2c857e90cee3b6a54d5fc79
parent3f160ffa4ef6c34409264f7b6f8b0485c0345690
Prevent IllegalStateException in GitHistoryView

When the selection refers to files inside the .git directory of a
repository, display the history of the repository instead of trying to
show a history of the git metadata file, which will fail anyway.

Bug: 482323
Change-Id: I60ec11796210e725118b7f651c121b51a638c357
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/HistoryPageInput.java