You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As soon as you call grgitService.service.get(), you get a hard "java.lang.IllegalStateException: No .git directory found!" exception as described in #362.
But there is more strange behavior.
In the GrgitService instance registered by the GrgitServicePlugin, currentDirectory is always set, so GrgitService just expects that a Git repository is available.
If you register a new instance of the service like
you get a "MissingValueException: Cannot query the value of this property because it has no value available." as directory is expected to have some value.
it checks that directory exists and again just expects that a Git repository is available in that directory so fails with "RepositoryNotFoundException: repository not found: D:\Sourcecode\other\showcase"
then it is recognized that .git/ is missing, so it does a git initwithin that directory, resulting in D:\Sourcecode\other\showcase\.git\.git being created and after that "IllegalStateException: No .git directory found!" from first line here.
The text was updated successfully, but these errors were encountered:
As soon as you call
grgitService.service.get()
, you get a hard "java.lang.IllegalStateException: No .git directory found!" exception as described in #362.But there is more strange behavior.
In the
GrgitService
instance registered by theGrgitServicePlugin
,currentDirectory
is always set, soGrgitService
just expects that a Git repository is available.If you register a new instance of the service like
you get a "MissingValueException: Cannot query the value of this property because it has no value available." as
directory
is expected to have some value.If I change it to
it checks that
directory
exists and again just expects that a Git repository is available in that directory so fails with "RepositoryNotFoundException: repository not found: D:\Sourcecode\other\showcase"If I instead try with
then it is recognized that
.git/
is missing, so it does agit init
within that directory, resulting inD:\Sourcecode\other\showcase\.git\.git
being created and after that "IllegalStateException: No .git directory found!" from first line here.The text was updated successfully, but these errors were encountered: