We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38fc71e commit 7581116Copy full SHA for 7581116
src/main/groovy/net/minecrell/gitpatcher/task/FindGitTask.groovy
@@ -32,7 +32,7 @@ class FindGitTask extends DefaultTask {
32
33
@TaskAction
34
void findGit() {
35
- def git = new Git(project.projectDir)
+ def git = new Git(project.rootDir)
36
try {
37
def version = (git.version() as String).readLines().join(', ')
38
logger.lifecycle("Using $version for patching submodule $submodule.")
0 commit comments