Pepita73 / webproghu_dev

Webprog.hu apache-php7.2, Drupal 8.5.5
1 stars 1 forks source link

Sorvége karakterek normalizálása #7

Closed Endyl closed 6 years ago

Endyl commented 6 years ago

Mivel ellenvetés nem érkezett a #3-ban, kezdeményezném a sorvége karakterek normalizálást a Dealing with line endings alapján. .gitattributes egyelőre:

# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.gif binary

Ellenvetés, jobb ötlet, kiegészítés esetén szóljatok!

Pepita73 commented 6 years ago

Legalább push-ra kéne LF, de ez config: autocrlf = input De lehet, hogy ez is megoldja: text eol=lf

Endyl commented 6 years ago

Nyilván config, de ha van .gitattributes, akkor mindegy, hogy kinek mi van helyileg beállítva, egységes lesz a repóban.

Pepita73 commented 6 years ago

Igen, én úgy értettem, hogy én eddig configban oldottam meg, ha meg lehet oldani .gitattributes - ban, akkor az a jobb. :)