Skip to content

Commit 6352d44

Browse files
author
TheSnoozer
committed
correct assumption in comment
1 parent 1cc050a commit 6352d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/pl/project13/core/util/GitDirLocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public File lookupGitDirectory(@Nonnull File manuallyConfiguredDir) throws GitCo
7474
".git directory is not found! Please specify a valid [dotGitDirectory] in your"
7575
+ " project");
7676
}
77-
// assert dotGitDirectory != null
77+
// dotGitDirectory can be null here, when shouldFailOnNoGitDirectory == true
7878
if (useNativeGit) {
7979
// Check if the resolved directory structure looks like it is a submodule
8080
// path like `your-project/.git/modules/remote-module`.

0 commit comments

Comments
 (0)