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
grgit breaks when run from within a submodule. (Note that this issue is distinct from #60, where using grgit in a regular project that contains submodules causes it to misbehave. This issue is when you run grgit from inside a submodule.)
For example:
> git clone --recursive git@github.com:paleozogt/paleozogt-sandbox.git
...snip...
> cd paleozogt-sandbox/grgit
> ./gradlew tasks
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/asimmons/Development/paleozogt-sandbox/grgit/build.gradle' line: 5
* What went wrong:
An exception occurred applying plugin request [id: 'org.ajoberstar.defaults', version: '0.5.3']
> repository not found: /Users/asimmons/Development/paleozogt-sandbox/grgit
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.628 secs
This example shows it happening in the grgit source, but the same error happens with a grgit-using submodule.
Note that in the example the submodule really is a git repo:
Conveniently, the fix @facewindu proposed for #64 also seems to fix this. Can you try 1.3.0-milestone.1 to verify? (use Grgit.open() instead of Grgit.open(dir: 'something')).
grgit breaks when run from within a submodule. (Note that this issue is distinct from #60, where using grgit in a regular project that contains submodules causes it to misbehave. This issue is when you run grgit from inside a submodule.)
For example:
This example shows it happening in the grgit source, but the same error happens with a grgit-using submodule.
Note that in the example the submodule really is a git repo:
Even jgit can operate on it:
The text was updated successfully, but these errors were encountered: