mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 15:12:12 +00:00 
			
		
		
		
	Add Git Attributes syntax test
This commit is contained in:
		| @@ -0,0 +1,16 @@ | ||||
| [38;2;117;113;94m#[0m | ||||
| [38;2;117;113;94m#[0m[38;2;117;113;94m Comment[0m | ||||
|  | ||||
| [38;2;248;248;242m[[0m[38;2;166;226;46mattr[0m[38;2;248;248;242m][0m[38;2;255;255;255mbinary[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mdiff[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mmerge[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mtext[0m | ||||
|  | ||||
| [38;2;249;38;114m*[0m[38;2;248;248;242m          [0m[38;2;255;255;255mtext[0m[38;2;248;248;242m=[0m[38;2;230;219;116mauto[0m | ||||
| [38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mc[0m[38;2;248;248;242m        [0m[38;2;255;255;255mdiff[0m[38;2;248;248;242m=[0m[38;2;230;219;116mc[0m | ||||
| [38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mcc[0m[38;2;248;248;242m       [0m[38;2;255;255;255mtext[0m[38;2;248;248;242m [0m[38;2;255;255;255mdiff[0m[38;2;248;248;242m=[0m[38;2;230;219;116mcpp[0m | ||||
| [38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mo[0m[38;2;248;248;242m        [0m[38;2;255;255;255mbinary[0m | ||||
| [38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mbat[0m[38;2;248;248;242m      [0m[38;2;255;255;255mtext[0m[38;2;248;248;242m [0m[38;2;255;255;255meol[0m[38;2;248;248;242m=[0m[38;2;230;219;116mcrlf[0m | ||||
| [38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mlock[0m[38;2;248;248;242m     [0m[38;2;255;255;255mtext[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mdiff[0m | ||||
| [38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;249;38;114m*[0m[38;2;166;226;46mignore[0m[38;2;248;248;242m  [0m[38;2;255;255;255mtext[0m | ||||
| [38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mpatch[0m[38;2;248;248;242m    [0m[38;2;249;38;114m-[0m[38;2;255;255;255mtext[0m | ||||
|  | ||||
| [38;2;166;226;46m.[0m[38;2;166;226;46mgitattributes[0m[38;2;248;248;242m [0m[38;2;255;255;255mlinguist-language[0m[38;2;248;248;242m=[0m[38;2;230;219;116mgitattributes[0m | ||||
| [38;2;166;226;46m.[0m[38;2;166;226;46mgitkeep[0m[38;2;248;248;242m       [0m[38;2;255;255;255mexport-ignore[0m | ||||
| @@ -0,0 +1,16 @@ | ||||
| # | ||||
| # Comment | ||||
|  | ||||
| [attr]binary -diff -merge -text | ||||
|  | ||||
| *          text=auto | ||||
| *.c        diff=c | ||||
| *.cc       text diff=cpp | ||||
| *.o        binary | ||||
| *.bat      text eol=crlf | ||||
| *.lock     text -diff | ||||
| *.*ignore  text | ||||
| *.patch    -text | ||||
|  | ||||
| .gitattributes linguist-language=gitattributes | ||||
| .gitkeep       export-ignore | ||||
		Reference in New Issue
	
	Block a user