mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 22:39:38 +00:00
Make reinitializing a repository return GIT_ENOTIMPLEMENTED instead of GIT_SUCCESS
This commit is contained in:
parent
f3564e1e29
commit
b153589be2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user