summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/refs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refs.c b/src/refs.c
index 0da02a666..7530aeef9 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -755,6 +755,7 @@ int git_reference__normalize_name(
if ((error = git_path_iconv_init_precompose(&ic)) < 0 ||
(error = git_path_iconv(&ic, &current, &namelen)) < 0)
goto cleanup;
+ error = GIT_EINVALIDSPEC;
}
while (true) {