worktree.c: check whether branch is rebased in another worktree
[gitweb.git] / sha1_file.c
index d0f2aa029b14451d4ffe669d48602c55060b9f42..ea6381b3fd0469eb9dc283d90f880917b5dbb1c0 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;
        }