Commit d13e7e02a8b3fdcfe0e633fcbfc2521f502eb74e

nulltoken 2010-12-17T15:58:30

Added a comment reminding that the gitfo_mkdir_recurs() is far from being fully implemented.

diff --git a/src/fileops.c b/src/fileops.c
index 8cdfb03..97b2f07 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -313,6 +313,7 @@ int gitfo_dirent(
 
 int gitfo_mkdir_recurs(const char *path, int mode)
 {
+	//TODO: Implement recursive building of the parent tree structure (This would have to work on both Linux and Windows).
 	int error;
 
 	error = gitfo_mkdir(path, mode);
diff --git a/src/git2/repository.h b/src/git2/repository.h
index 195a8aa..4c7ba8d 100644
--- a/src/git2/repository.h
+++ b/src/git2/repository.h
@@ -167,7 +167,7 @@ GIT_EXTERN(void) git_repository_free(git_repository *repo);
  *
  * Limits:
  *  - Reinit of an existing directory is not implemented yet. Will blindly return GIT_SUCCESS.
- *  - The parent directory structure of the repository has to already exist. Recursive building of the parent tree structure is not implmented yet.
+ *  - The parent directory structure of the repository has to already exist. Recursive building of the parent tree structure is not implemented yet.
  *  - Config file creation handling is not implemented yet.
  *
  * @param repo_out pointer to the repo which will be created or reinitialized