• Mora@pawb.social
    link
    fedilink
    arrow-up
    19
    ·
    1 day ago

    Pro Tip: If you want to really annoy Windows git users, just put some on Windows “illegal characters” in the filenames before committing. It is even funnier, if the git server has no UI where it could be fixed quickly.

    • TurboWafflz@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      21 hours ago

      The filename rules are so weird, it’s not just illegal characters, sometimes the position of the character matters. I discovered a while ago that while windows has no problem with dots in filenames, for some reason they can never be the last character in the name

      • xia@lemmy.sdf.orgOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        20 hours ago

        I imagine they rely on file extensions too much, and when they tested a file with an “empty” extension something great and terrible happened to make that rule instead of cleaning up the carnage.

    • a2part2@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      20 hours ago

      Commit a bunch of perl cpan files with a ton of colons scattered liberally, and watch the fireworks