ZystemOS / pluto

An x86 kernel written in Zig
563 stars 22 forks source link

Shorten 'test/fat32/test_files/insanely_long/...' file length #297

Open b-ncMN opened 3 years ago

b-ncMN commented 3 years ago

It appears this file's name length is a bit too big,

this causes issue while checking out the x86_64-port branch on a windows installation, the filename itself is under 256 chars but adding the whole absolute path to it (C:...) makes it bigger, therefore git refuses to checkout the branch

DrDeano commented 3 years ago

Hmm, I can checkout fine. Have you enabled long path names in Windows?

b-ncMN commented 3 years ago

Nope, I will check that out

b-ncMN commented 3 years ago

I have enabled that but it does not seem to resolve my issue

image

SamTebbs33 commented 3 years ago

Is this still an issue?

b-ncMN commented 3 years ago

I have discussed with @DrDeano about it and it works on his windows installation, I see no reason why it would not work on mine, I will retry a bit later

SamTebbs33 commented 3 years ago

Just found this :) https://www.javaprogramto.com/2020/04/git-filename-too-long.html

b-ncMN commented 3 years ago

I have recreated a new windows virtual machine today and have enabled long file paths in my registry + ran "git config --system core.longpaths true" but the issue still appears :/

SamTebbs33 commented 3 years ago

Hmm... What version of Windows are you running? I can give it a go in a VM too.

b-ncMN commented 3 years ago

image

SamTebbs33 commented 2 years ago

I found that the OS used by GitHub Actions doesn't like the long filename either, so as a temporary workaround I've removed the file in #310 . Later on we can reintroduce it once we figure out what was going wrong on Windows and GitHub Actions.