git-compat-util: move content inside ifdef/endif guards
[gitweb.git] / sha1_file.c
index a7f45b3490abe2d71c91e7d3bf1704101fb359d9..d5e11217f523018008b3c4861d5d70068de14c72 100644 (file)
@@ -301,7 +301,7 @@ static int link_alt_odb_entry(const char *entry, const char *relative_base,
                        return -1;
                }
        }
-       if (!strcmp_icase(ent->base, normalized_objdir)) {
+       if (!fspathcmp(ent->base, normalized_objdir)) {
                free(ent);
                return -1;
        }