Permalink
Browse files

Normalizing Line Endings

Added a .gitattributes to normalize line endings to LF (unix).

Added .gitignore, based on original darcs boringfile.
  • Loading branch information...
1 parent 5a7ff50 commit 16f61f84ed258c2041ac2d26a49dec35213f2630 @m4dc4p committed Sep 10, 2012
View
@@ -0,0 +1,5 @@
+# Auto detect text files and perform LF normalization
+* eol=lf
+
+*.pdf -text diff=astextplain
+*.PDF -text diff=astextplain
View
@@ -0,0 +1,113 @@
+# Boring file regexps:
+
+### compiler and interpreter intermediate files
+# haskell (ghc) interfaces
+\.hi$
+\.hi-boot$
+\.o-boot$
+# object files
+\.o$
+\.o\.cmd$
+# profiling haskell
+\.p_hi$
+\.p_o$
+# haskell program coverage resp. profiling info
+\.tix$
+\.prof$
+# fortran module files
+\.mod$
+# linux kernel
+\.ko\.cmd$
+\.mod\.c$
+(^|/)\.tmp_versions($|/)
+# *.ko files aren't boring by default because they might
+# be Korean translations rather than kernel modules
+# \.ko$
+# python, emacs, java byte code
+\.py[co]$
+\.elc$
+\.class$
+# objects and libraries; lo and la are libtool things
+\.(obj|a|exe|so|lo|la)$
+# compiled zsh configuration files
+\.zwc$
+# Common LISP output files for CLISP and CMUCL
+\.(fas|fasl|sparcf|x86f)$
+
+### build and packaging systems
+# cabal intermediates
+\.installed-pkg-config
+\.setup-config
+# standard cabal build dir, might not be boring for everybody
+# ^dist(/|$)
+# autotools
+(^|/)autom4te\.cache($|/)
+(^|/)config\.(log|status)$
+# microsoft web expression, visual studio metadata directories
+\_vti_cnf$
+\_vti_pvt$
+# gentoo tools
+\.revdep-rebuild.*
+# generated dependencies
+^\.depend$
+
+### version control systems
+# cvs
+(^|/)CVS($|/)
+\.cvsignore$
+# cvs, emacs locks
+^\.#
+# rcs
+(^|/)RCS($|/)
+,v$
+# subversion
+(^|/)\.svn($|/)
+# mercurial
+(^|/)\.hg($|/)
+# git
+(^|/)\.git($|/)
+# bzr
+\.bzr$
+# sccs
+(^|/)SCCS($|/)
+# darcs
+(^|/)_darcs($|/)
+(^|/)\.darcsrepo($|/)
+^\.darcs-temp-mail$
+-darcs-backup[[:digit:]]+$
+# gnu arch
+(^|/)(\+|,)
+(^|/)vssver\.scc$
+\.swp$
+(^|/)MT($|/)
+(^|/)\{arch\}($|/)
+(^|/).arch-ids($|/)
+# bitkeeper
+(^|/)BitKeeper($|/)
+(^|/)ChangeSet($|/)
+
+### miscellaneous
+# backup files
+~$
+\.bak$
+\.BAK$
+# patch originals and rejects
+\.orig$
+\.rej$
+# X server
+\..serverauth.*
+# image spam
+\#
+(^|/)Thumbs\.db$
+# vi, emacs tags
+(^|/)(tags|TAGS)$
+#(^|/)\.[^/]
+# core dumps
+(^|/|\.)core$
+# partial broken files (KIO copy operations)
+\.part$
+# waf files, see http://code.google.com/p/waf/
+(^|/)\.waf-[[:digit:].]+-[[:digit:]]+($|/)
+(^|/)\.lock-wscript$
+# mac os finder
+(^|/)\.DS_Store$
View
@@ -1,5 +1,5 @@
--- Print SQL for a query
-let pSQL query = return $ "Database.HaskellDB.PrintQuery.ppSql " ++ query
-:def pSQL pSQL
-
-:l Select.hs
+-- Print SQL for a query
+let pSQL query = return $ "Database.HaskellDB.PrintQuery.ppSql " ++ query
+:def pSQL pSQL
+
+:l Select.hs
View
@@ -1,75 +1,75 @@
-{-# LANGUAGE EmptyDataDecls, TypeSynonymInstances #-}
-{-# OPTIONS_GHC -fcontext-stack44 #-}
----------------------------------------------------------------------------
--- Generated by DB/Direct
----------------------------------------------------------------------------
-module DB1.Bool_tbl where
-
-import Database.HaskellDB.DBLayout
-
----------------------------------------------------------------------------
--- Table type
----------------------------------------------------------------------------
-
-type Bool_tbl =
- (RecCons F01 (Expr (Maybe Bool))
- (RecCons F02 (Expr Bool)
- (RecCons F03 (Expr (Maybe Bool))
- (RecCons F04 (Expr Bool) RecNil))))
-
----------------------------------------------------------------------------
--- Table
----------------------------------------------------------------------------
-bool_tbl :: Table Bool_tbl
-bool_tbl = baseTable "bool_tbl" $
- hdbMakeEntry F01 #
- hdbMakeEntry F02 #
- hdbMakeEntry F03 #
- hdbMakeEntry F04
-
----------------------------------------------------------------------------
--- Fields
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--- F01 Field
----------------------------------------------------------------------------
-
-data F01 = F01
-
-instance FieldTag F01 where fieldName _ = "f01"
-
-f01 :: Attr F01 (Maybe Bool)
-f01 = mkAttr F01
-
----------------------------------------------------------------------------
--- F02 Field
----------------------------------------------------------------------------
-
-data F02 = F02
-
-instance FieldTag F02 where fieldName _ = "f02"
-
-f02 :: Attr F02 Bool
-f02 = mkAttr F02
-
----------------------------------------------------------------------------
--- F03 Field
----------------------------------------------------------------------------
-
-data F03 = F03
-
-instance FieldTag F03 where fieldName _ = "f03"
-
-f03 :: Attr F03 (Maybe Bool)
-f03 = mkAttr F03
-
----------------------------------------------------------------------------
--- F04 Field
----------------------------------------------------------------------------
-
-data F04 = F04
-
-instance FieldTag F04 where fieldName _ = "f04"
-
-f04 :: Attr F04 Bool
-f04 = mkAttr F04
+{-# LANGUAGE EmptyDataDecls, TypeSynonymInstances #-}
+{-# OPTIONS_GHC -fcontext-stack44 #-}
+---------------------------------------------------------------------------
+-- Generated by DB/Direct
+---------------------------------------------------------------------------
+module DB1.Bool_tbl where
+
+import Database.HaskellDB.DBLayout
+
+---------------------------------------------------------------------------
+-- Table type
+---------------------------------------------------------------------------
+
+type Bool_tbl =
+ (RecCons F01 (Expr (Maybe Bool))
+ (RecCons F02 (Expr Bool)
+ (RecCons F03 (Expr (Maybe Bool))
+ (RecCons F04 (Expr Bool) RecNil))))
+
+---------------------------------------------------------------------------
+-- Table
+---------------------------------------------------------------------------
+bool_tbl :: Table Bool_tbl
+bool_tbl = baseTable "bool_tbl" $
+ hdbMakeEntry F01 #
+ hdbMakeEntry F02 #
+ hdbMakeEntry F03 #
+ hdbMakeEntry F04
+
+---------------------------------------------------------------------------
+-- Fields
+---------------------------------------------------------------------------
+---------------------------------------------------------------------------
+-- F01 Field
+---------------------------------------------------------------------------
+
+data F01 = F01
+
+instance FieldTag F01 where fieldName _ = "f01"
+
+f01 :: Attr F01 (Maybe Bool)
+f01 = mkAttr F01
+
+---------------------------------------------------------------------------
+-- F02 Field
+---------------------------------------------------------------------------
+
+data F02 = F02
+
+instance FieldTag F02 where fieldName _ = "f02"
+
+f02 :: Attr F02 Bool
+f02 = mkAttr F02
+
+---------------------------------------------------------------------------
+-- F03 Field
+---------------------------------------------------------------------------
+
+data F03 = F03
+
+instance FieldTag F03 where fieldName _ = "f03"
+
+f03 :: Attr F03 (Maybe Bool)
+f03 = mkAttr F03
+
+---------------------------------------------------------------------------
+-- F04 Field
+---------------------------------------------------------------------------
+
+data F04 = F04
+
+instance FieldTag F04 where fieldName _ = "f04"
+
+f04 :: Attr F04 Bool
+f04 = mkAttr F04
Oops, something went wrong.

0 comments on commit 16f61f8

Please sign in to comment.