Browse Source

update .gitignore, add .gitattributes

tags/lighttpd-1.4.46
Glenn Strauss 3 years ago
parent
commit
18905bca2b
2 changed files with 213 additions and 6 deletions
  1. +172
    -0
      .gitattributes
  2. +41
    -6
      .gitignore

+ 172
- 0
.gitattributes View File

@@ -0,0 +1,172 @@
# .gitattributes

# http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
# http://git-scm.com/book/ch7-2.html

# attempt to normalize all files, this is typically a good thing
* text=auto

# types requiring CRLF
[attr]visualstudio text eol=crlf
*.csproj visualstudio
*.def visualstudio
*.dsp visualstudio
*.dsw visualstudio
*.rc2 visualstudio
*.resx visualstudio
*.sln visualstudio
*.vcproj visualstudio
*.vcxproj visualstudio
*.vsprops visualstudio

# explicit normalizations

*.gyp text
*.gypi text

# C/C++
*.h text
*.hpp text
*.hxx text
*.c text
*.cc text
*.cpp text
*.inl text

# C#
*.cs text
*.xaml text

# Configuration
*.conf text
*.ini text

# HTML5
*.css text
*.html text
*.htm text
*.svg text

# Sass (http://sass-lang.com/)
*.scss text

# JavaScript (ECMAScript)
*.json text
*.js text

# Lua
*.lua text

# Make
*.mak text
*.mk text

# Shell
*.sh text eol=lf
*.ksh text eol=lf

# Text
*.txt text

# Python
*.py text

# Ruby
*.rb text

# XML
*.xml text
*.xsd text



# skip git delta compression for compressed file formats
# initial list modified from https://github.com/hbons/SparkleShare/issues/519
# 'binary' implies '-diff'
# (so if custom diff textconv=exif for jpg, then also remove binary attribute)
# (if exif data changes, but image does not, then delta compression helps,
# so delta compression desirable when images are uniquely named, and not
# changed except for exif info)
[attr] nopack binary -delta
# media
*.jpg nopack
*.JPG nopack
*.jpeg nopack
*.JPEG nopack
*.png nopack
*.PNG nopack
*.tiff nopack
*.TIFF nopack
*.flac nopack
*.FLAC nopack
*.mp3 nopack
*.MP3 nopack
*.mp4 nopack
*.MP4 nopack
*.ogg nopack
*.OGG nopack
*.oga nopack
*.OGA nopack
*.avi nopack
*.AVI nopack
*.mov nopack
*.MOV nopack
*.mpg nopack
*.MPG nopack
*.mpeg nopack
*.MPEG nopack
*.mkv nopack
*.MKV nopack
*.ogv nopack
*.OGV nopack
*.ogx nopack
*.OGX nopack
*.webm nopack
*.WEBM nopack

# archive
*.7z nopack
*.7Z nopack
*.ace nopack
*.ACE nopack
*.gz nopack
*.GZ nopack
*.bz2 nopack
*.BZ2 nopack
*.pak nopack
*.PAK nopack
*.rar nopack
*.RAR nopack
*.tar nopack
*.TAR nopack
*.tgz nopack
*.TGZ nopack
*.z nopack
*.Z nopack
*.zip nopack
*.ZIP nopack

# package management
*.deb nopack
*.DEB nopack
*.rpm nopack
*.RPM nopack

# postscript (can compress)
*.ps -diff

# (above is not an unabridged list)
# (more compressed file formats, compressed media formats, package formats, ...)
# http://en.wikipedia.org/wiki/List_of_archive_formats
# http://en.wikipedia.org/wiki/List_of_file_formats
# http://www.fileinfo.com/filetypes/compressed
# http://www.file-extensions.org/filetype/extension/name/archive-and-compressed-files

# (consider managing binary artifacts in git-annex or other external management
# such as Archiva, Artifactory, Nexus)

# (binary artifacts are best stored outside of git, but abuse is inevitable)
*.a nopack
*.exe nopack
*.o nopack
*.so nopack

+ 41
- 6
.gitignore View File

@@ -1,18 +1,53 @@
autom4te.cache/
m4/
*.[oa]
*.l[oa]
*.exe
*~
.deps/
.libs/
.sconf_temp
.sconsign.dblite
CMakeCache.txt
CMakeFiles/
CTestTestfile.cmake
DartConfiguration.tcl
Makefile
Makefile.in
Testing/
aclocal.m4
ar-lib
autom4te.cache/
build/
cmake_install.cmake
compile
config.cache
config.guess
config.h
config.h.in
config.h.in~
config.log
config.status
config.sub
configparser.c
configparser.h
configure
depcomp
distribute.sh
fcgi-auth
fcgi-responder
install-sh
lemon
libtool
lighttpd
lighttpd-angel
ltmain.sh
m4/
missing
.sconf_temp
.sconsign.dblite
config.log
mod_ssi_exprparser.c
mod_ssi_exprparser.h
proc_open
scgi-responder
sconsbuild/
stamp-h1
test_base64
test_buffer
test_configfile
versionstamp.h

Loading…
Cancel
Save