mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 13:36:17 +00:00
After iconv init reset ref normalize error
The iconv init was accidentally clearing the default error state during reference normalization. This resets so that normalization errors will be detected correctly.
This commit is contained in:
parent
95c148b2c7
commit
743531372a
@ -755,6 +755,7 @@ int git_reference__normalize_name(
|
||||
if ((error = git_path_iconv_init_precompose(&ic)) < 0 ||
|
||||
(error = git_path_iconv(&ic, ¤t, &namelen)) < 0)
|
||||
goto cleanup;
|
||||
error = GIT_EINVALIDSPEC;
|
||||
}
|
||||
|
||||
while (true) {
|
||||
|
Loading…
Reference in New Issue
Block a user