public String[] getIndexedFilePaths(String localGitFolder) throws NoHeadException, IOException, GitAPIException{
		String[] entries;
		repository = openDirectory(localGitFolder);
		int indexEntryCount = DirCache.read(repository).getEntryCount();
		entries = new String[indexEntryCount];
		System.out.println("index path entry count: " + indexEntryCount);
		for(int i=0; i<indexEntryCount; i++){
			System.out.println("path " + i + ": " + DirCache.read(repository).getEntry(i).getPathString());
			entries[i] = DirCache.read(repository).getEntry(i).getPathString();
		}
		repository.close();
		return entries;
	}