P7zip22.00
Update 7zip core to 7zip22.00
I noticed, that in .gitattributes you set *.sln, *.vcxproj, *.vcproj, *.rc to CRLF line endings. Neither .lsn nor .vc(x)proj don't need to have dos line endings. Not even .rc files don't. You can see it yourself - even microsoft is using unig LF in their own examples.
There are some extensions that do though - it's .dsp and .dsw in 7zip source tree. I have tried that and with unix LF they fail to be read by IDE. These should have been set up with CRLF line endings. @tansy I noticed, but there are too many files to modify. Is there any good way to achieve batch modification?
I noticed, but there are too many files to modify. Is there any good way to achieve batch modification?
According to git documentation on gitattributes it should respect .gitattributes file in that directory then `.gitattributes' in higher/est directory, then `$GIT_DIR/info/attributes', which is most likely `.git/info/attributes' in main repository directory.
Here is something about that as well.
I made a test repository to see how it works.
So try to put `.gitattributes' in main repository and main branch directory; it should work top->down. If it won't help then `.git/info/attributes' in main repository directory.
If by batch you mean to "convert" them, then I have script - I have to find it and can put in paste or something.
@tansy It would be very helpful if you could provide the script.
Sorry, I forgot about that, then I couldn't find this thread but I found it and put it here. It's not perfect, just partisan script but keeps timestamps. If you have binaries, and want to copy them to destination directory as well, then copy directory as a whole first, then:
$ ./d2u-dir-1.sh <dir~> <dir>
I hope that's what you meant.
Sorry, I forgot about that, then I couldn't find this thread but I found it and put it here. It's not perfect, just partisan script but keeps timestamps. If you have binaries, and want to copy them to destination directory as well, then copy directory as a whole first, then:
$ ./d2u-dir-1.sh <dir~> <dir>I hope that's what you meant.
Could not open this link.