Browse Source

Define repository-wide text and binary file attributes

Normalize text files to LF and explicitly identify binary assets,
generated, and vendor files so so Git does not apply line-ending
conversion to them.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 2 months ago
parent
commit
4fcc4fd234
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 49
      .gitattributes

49
.gitattributes vendored

@ -1 +1,48 @@ @@ -1 +1,48 @@
*.fits binary
# Git attributes for SDRangel
# normalize text files to LF and identify binary files.
* text=auto eol=lf
# Vendored Cesium content: preserve upstream line endings.
plugins/feature/map/Cesium/** -text
# Generated Swagger UI files
sdrbase/resources/webapi/doc/swagger-ui/** -text
# Generated Swagger documentation and client code
sdrbase/resources/webapi/doc/swagger/** -text
swagger/sdrangel/code/** -text
# SDRangel configuration and preset files
*.cfgx binary
*.prex binary
# Binary image files.
*.png binary
*.PNG binary
*.bmp binary
*.BMP binary
*.xcf binary
*.XCF binary
*.jpg binary
*.JPG binary
*.fits binary
*.FITS binary
*.ico binary
*.ICO binary
*.icns binary
*.icns binary
*.gif binary
*.GIF binary
# Binary audio/media files.
*.wav binary
*.WAV binary
*.wasm binary
*.WASM binary
# Binary fonts.
*.ttf binary
*.TTF binary
# Binary document files.
*.odg binary

Loading…
Cancel
Save