|
|
@@ -50,7 +50,7 @@ import static org.eclipse.jgit.lib.Constants.DOT_GIT; |
|
|
|
import static org.eclipse.jgit.lib.Constants.GIT_ALTERNATE_OBJECT_DIRECTORIES_KEY; |
|
|
|
import static org.eclipse.jgit.lib.Constants.GIT_CEILING_DIRECTORIES_KEY; |
|
|
|
import static org.eclipse.jgit.lib.Constants.GIT_DIR_KEY; |
|
|
|
import static org.eclipse.jgit.lib.Constants.GIT_INDEX_KEY; |
|
|
|
import static org.eclipse.jgit.lib.Constants.GIT_INDEX_FILE_KEY; |
|
|
|
import static org.eclipse.jgit.lib.Constants.GIT_OBJECT_DIRECTORY_KEY; |
|
|
|
import static org.eclipse.jgit.lib.Constants.GIT_WORK_TREE_KEY; |
|
|
|
|
|
|
@@ -339,7 +339,7 @@ public class BaseRepositoryBuilder<B extends BaseRepositoryBuilder, R extends Re |
|
|
|
} |
|
|
|
|
|
|
|
if (getIndexFile() == null) { |
|
|
|
String val = sr.getenv(GIT_INDEX_KEY); |
|
|
|
String val = sr.getenv(GIT_INDEX_FILE_KEY); |
|
|
|
if (val != null) |
|
|
|
setIndexFile(new File(val)); |
|
|
|
} |