Skip to content

Commit

Permalink
Set working-tree-encoding in .gitattributes and renormalize
Browse files Browse the repository at this point in the history
  • Loading branch information
wqweto committed Dec 5, 2022
1 parent 3b68723 commit ce5579e
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 10 deletions.
97 changes: 89 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,89 @@
# Auto detect text files and perform LF normalization
* text eol=crlf

*.dll binary
*.cmp binary
*.cobj binary
*.pfx binary
*.cer binary
# VB6 source files (show diff + keep CRLF in zip download)

*.bas working-tree-encoding=CP1251 text eol=crlf linguist-language=vb6
*.cls working-tree-encoding=CP1251 text eol=crlf linguist-language=vb6
*.ctl working-tree-encoding=CP1251 text eol=crlf linguist-language=vb6
*.dob working-tree-encoding=CP1251 text eol=crlf linguist-language=vb6
*.dsr working-tree-encoding=CP1251 text eol=crlf linguist-language=vb6
*.frm working-tree-encoding=CP1251 text eol=crlf linguist-language=vb6
*.pag working-tree-encoding=CP1251 text eol=crlf linguist-language=vb6
*.vbg working-tree-encoding=CP1251 text eol=crlf
*.vbl working-tree-encoding=CP1251 text eol=crlf
*.vbp working-tree-encoding=CP1251 text eol=crlf
*.vbr working-tree-encoding=CP1251 text eol=crlf
*.vbw working-tree-encoding=CP1251 text eol=crlf

# Other source files (show diff + LF only in zip download)

*.asm text
*.asp text
*.bat text
*.c text
*.cpp text
*.dsp text
*.dsw text
*.h text
*.idl text
*.java text
*.js text
*.manifest text
*.odl text
*.php text
*.php3 text
*.rc text
*.sln text
*.sql text
*.vb text
*.vbs text

# Binary

*.res binary
*.frx binary
*.ctx binary
*.dsx binary
*.exe binary
*.dll binary
*.ocx binary
*.cmp binary
*.pdb binary
*.tlb binary
*.xls binary
*.doc binary
*.ppt binary
*.xlsx binary
*.docx binary
*.pptx binary
*.chm binary
*.hlp binary
*.jpg binary
*.png binary
*.bmp binary
*.gif binary
*.ico binary
*.zip binary
*.cab binary
*.7z binary
*.gz binary
*.cobj binary
*.pfx binary
*.cer binary

# Text files but keep as binary (no diff)

# *.cfg text
# *.conf text
# *.csi text
# *.css text
# *.csv text
# *.def text
# *.htm text
# *.html text
# *.inf text
# *.ini text
# *.log text
# *.reg text
# *.rtf text
# *.txt text
# *.url text
# *.xml text
2 changes: 1 addition & 1 deletion samples/Winsock-simple/Client/Form1.frx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{key1=data1, key2=data2}
{key1=data1, key2=data2}
2 changes: 1 addition & 1 deletion test/Basic/Form1.frm
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Private Sub Command2_Click()
m_oRequest.Send
m_oRequest.Open_ "GET", IIf(chkUseHttps.Value = vbChecked, "https", "http") & "://www.unicontsoft.com/"
m_oRequest.Send
' m_oRequest.Open_ "GET", "http://localhost/ÒîâàÏàïêà?Ïàðàìåòúð1&Ïàðàì2#Àíêîð"
' m_oRequest.Open_ "GET", "http://localhost/ТоваПапка?Параметър1&Парам2#Анкор"
' m_oRequest.Send
' m_oRequest.Open_ "GET", IIf(chkUseHttps.Value = vbChecked, "https", "http") & "://client.badssl.com"
' m_oRequest.SetClientCertificate "68b5220077de8bbeaed8e1c2540fec6c16b418a8"
Expand Down

0 comments on commit ce5579e

Please sign in to comment.