mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-12 10:05:57 +00:00
Merge pull request #373 from carlosmn/fancy-branchname
Fix the reference character check for Unicode
This commit is contained in:
commit
ec5b158996
@ -1647,7 +1647,7 @@ void git_repository__refcache_free(git_refcache *refs)
|
|||||||
*****************************************/
|
*****************************************/
|
||||||
static int check_valid_ref_char(char ch)
|
static int check_valid_ref_char(char ch)
|
||||||
{
|
{
|
||||||
if (ch <= ' ')
|
if ((unsigned) ch <= ' ')
|
||||||
return GIT_ERROR;
|
return GIT_ERROR;
|
||||||
|
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
|
Loading…
Reference in New Issue
Block a user