• UnityDevice@startrek.website
    link
    fedilink
    arrow-up
    16
    arrow-down
    2
    ·
    30 days ago

    The issue isn’t just a simple oversight. Git includes the file name as part of the tree and commit hash. The hash has security implications. There’s really no way to make the hash support case insensitivity without opening up a multitude of holes there. So there will always be a mismatch, and you can’t just fix it without changing how git works from the ground up.

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      3
      ·
      edit-2
      30 days ago

      Of course you can, make it lowercase internally and store the case formatted string for output.