Skip to content
This repository was archived by the owner on Sep 12, 2021. It is now read-only.
This repository was archived by the owner on Sep 12, 2021. It is now read-only.

get repo automatically from egit #62

@bebehei

Description

@bebehei

This was my beginning with gonsole:

no repository> help
java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
    at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:588)
[...]
no repository> setWorkTree("/home/bebe/code/workspace/libvirt-slave-plugin")
java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
    at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:588)

Of course, there is use. There is also in big fat font the configuration described on the website to configure the repos at Team > Git Console > Repository Locations. Wouldn't it be the more eclipse way to automatically use the git repositories from the git repositories-view?

Additionally it would be great, if the IllegalArgumentException would be catched and processed to give a hint about use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions