Commit b153589be2b3b9aea1f90a68891564ddeb12083c

nulltoken 2011-04-03T18:31:45

Make reinitializing a repository return GIT_ENOTIMPLEMENTED instead of GIT_SUCCESS

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/repository.c b/src/repository.c
index 91b95a8..abbbd12 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -346,7 +346,7 @@ static int repo_init_reinit(repo_init *results)
 {
 	/* TODO: reinit the repository */
 	results->has_been_reinit = 1;
-	return GIT_SUCCESS;
+	return GIT_ENOTIMPLEMENTED;
 }
 
 static int repo_init_createhead(git_repository *repo)