|
-
Apr 23rd, 2025, 09:38 AM
#1
Github corrupted FRM file, what settings do you have in .gitattributes?
On one of my projects, only one specific project, when I cloned it from github to a PC, the VBP could not be opened, bringing the IDE and the project to a halt.
The error is related to the picture object property that cannot be set.
This showed there was some inconsistency between the FRM and the FRX files and if I looked in the error log I would see the error showing for all command buttons that had been set to graphic mode, and where the button had an assigned picture image.
This only occurred when I used github to clone the rep. If I copied it over the network, it worked so a github error was indicated.
I tried manually copying the FRX files alone, no luck, if I copied the associated the FRM file, the project would open. All my other projects can be cloned without error.
So, I have modified my .gitattributes file to contain the following:
Code:
# Auto detect text files and perform LF normalization
* text auto
# Custom for Visual Studio
*.res binary
*.RES binary
*.frx binary
*.exe binary
*.dll binary
*.ico binary
*.gif binary
*.ocx binary
*.tlb binary
*.ocx.bin binary
*.ism binary
*.bin binary
*.aps binary
*.ncb binary
*.wav binary
*.mp3 binary
*.oca binary
*.exe.compat binary
*.ocx.compat binary
*.ctx -diff
*.ctl text eol=crlf
*.txt text eol=crlf
*.bas text eol=crlf
*.frm text eol=crlf
*.log text eol=crlf
*.vbp text eol=crlf
*.cls text eol=crlf
*.vbw text eol=crlf
*.dsr text eol=crlf
*.ini text eol=crlf
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
Since then the final github clone worked well.
Does anyone have a .gitattributes file that deals with VB6 better than the above?
https://github.com/yereverluvinunclebert
Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.
By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|