Community
Participate
Working Groups
The current workflow which requires a select before being able to work with the Git repository is IMHO not ideal. I suggest to select the first Git repository of the available Git repositories in the Git staging view instead of saying "No repository selected". This will hugely improve the not so rare use case is that customers only have one Git repository. But also for multiple repos it is better to have one repo selected instead of none.
I would vote against, except we change the request to "Always select a Git repository in the Git staging view if ONLY one is available". I don't wont any random selection of ~N repositories to be done automatically by the tool. However, if only one repo is known by egit, this would be OK.
(In reply to Andrey Loskutov from comment #1) > I would vote against, except we change the request to "Always select a Git > repository in the Git staging view if ONLY one is available". > > I don't wont any random selection of ~N repositories to be done > automatically by the tool. However, if only one repo is known by egit, this > would be OK. Better than current situation, so fine by me.
I second Andrey's opinion. Maybe we could stick to the repository which was selected last if the current selection doesn't refer to a repository.
We had some of this discussion also in bug 539799. The most accepted alternative there seemed to be "remember on shutdown, use that as initial selection on view recreation". I would still favor that very much, since it brings the workbench closer to a persistent state even after restart (and I silenty dream of the package explorer and repo view expanding their nodes after start exactly as before shutdown...)
*** Bug 579995 has been marked as a duplicate of this bug. ***
Please at least "if there is a single repo preselect it". For us that is the common situation and can't harm anybody.