mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-02 22:36:57 +00:00
tree: Check for .git with case insensitivy
This commit is contained in:
parent
cceae9a25d
commit
62155257d2
@ -57,7 +57,7 @@ static int valid_entry_name(const char *filename)
|
||||
(*filename != '.' ||
|
||||
(strcmp(filename, ".") != 0 &&
|
||||
strcmp(filename, "..") != 0 &&
|
||||
strcmp(filename, DOT_GIT) != 0));
|
||||
strcasecmp(filename, DOT_GIT) != 0));
|
||||
}
|
||||
|
||||
static int entry_sort_cmp(const void *a, const void *b)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user