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 930fd0a commit aa759ecCopy full SHA for aa759ec
opengrok-indexer/src/test/java/org/opengrok/indexer/history/GitRepositoryTest.java
@@ -802,7 +802,7 @@ private String addSubmodule(String submoduleName) throws Exception {
802
803
// Add this repository as a submodule to the existing Git repository.
804
org.eclipse.jgit.lib.Repository mainRepo = new FileRepositoryBuilder().
805
- setGitDir(Paths.get(repository.getSourceRoot(), "git", ".git").toFile())
+ setGitDir(Paths.get(repository.getSourceRoot(), "git", Constants.DOT_GIT).toFile())
806
.build();
807
try (Git git = new Git(mainRepo)) {
808
git.submoduleAdd().
0 commit comments