summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2010-12-17 15:58:30 +0100
committernulltoken <emeric.fermas@gmail.com>2010-12-17 15:58:30 +0100
commitd13e7e02a8b3fdcfe0e633fcbfc2521f502eb74e (patch)
treea1adb54f85375da0685616207deab72ab3cef6f5 /src
parente1f8cad0c98693c170bdd741747d07db8adb4367 (diff)
downloadlibgit2-d13e7e02a8b3fdcfe0e633fcbfc2521f502eb74e.tar.gz
Added a comment reminding that the gitfo_mkdir_recurs() is far from being fully implemented.
Diffstat (limited to 'src')
-rw-r--r--src/fileops.c1
-rw-r--r--src/git2/repository.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c
index 8cdfb0345..97b2f0739 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 195a8aa29..4c7ba8ded 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