Make reinitializing a repository return GIT_ENOTIMPLEMENTED instead of GIT_SUCCESS

This commit is contained in:
nulltoken 2011-04-03 18:31:45 +02:00 committed by Vicent Marti
parent f3564e1e29
commit b153589be2

View File

@ -346,7 +346,7 @@ static int repo_init_reinit(repo_init *results)
{ {
/* TODO: reinit the repository */ /* TODO: reinit the repository */
results->has_been_reinit = 1; results->has_been_reinit = 1;
return GIT_SUCCESS; return GIT_ENOTIMPLEMENTED;
} }
static int repo_init_createhead(git_repository *repo) static int repo_init_createhead(git_repository *repo)