on master help sign in
Add Git Config syntax test file

cc sharkdp/bat#1213

commit7a7bb80e234e346dbee109cae7c443b1666f427f authorStefano Probst <senden9@gmail.com> dateSat 24 Oct 2020, 10:03 (6 years ago) parent99ac5c3
3 files changed+215
tests/syntax-tests/highlighted/Git Config/text.gitconfig+107 tests/syntax-tests/source/Git Config/LICENSE.md+1 tests/syntax-tests/source/Git Config/text.gitconfig+107
tests/syntax-tests/highlighted/Git Config/text.gitconfignew file+107
@@ -0,0 +1,107 @@
1+[alias]
2+ br = branch
3+ branch = branch -a
4+ c = clone --recursive
5+ ci = commit
6+ cl = clone
7+ co = checkout
8+ contributors = shortlog --summary --numbered
9+ lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
10+ remote = remote -v
11+ st = status
12+ tag = tag -l
13+[apply]
14+ whitespace = fix
15+[color]
16+ ui = true
17+[color "branch"]
18+ current = yellow
19+ local = yellow
20+ remote = green
21+[color "diff"]
22+ commit = yellow bold
23+ frag = magenta bold
24+ meta = yellow
25+ new = green bold
26+ old = red bold
27+ whitespace = red reverse
28+[color "diff-highlight"]
29+ newHighlight = green bold 22
30+ newNormal = green bold
31+ oldHighlight = red bold 52
32+ oldNormal = red bold
33+[color "status"]
34+ added = green
35+ changed = yellow
36+ untracked = cyan
37+[commit]
38+ gpgsign = true
39+[core]
40+ editor = /usr/bin/vim
41+ # global exclude
42+ excludesfile = /home/frank/.config/git/ignore
43+ pager = delta
44+ ; broken on old machines
45+ untrackedCache = true
46+[credential]
47+ helper = store
48+[delta]
49+ features = line-numbers decorations
50+ max-line-length = 1024
51+ whitespace-error-style = 22 reverse
52+[delta "decorations"]
53+ commit-decoration-style = bold yellow box ul
54+ file-decoration-style = none
55+ file-style = bold yellow
56+ syntax-theme = gruvbox
57+[diff]
58+ submodule = diff
59+ algorithm = histogram
60+ renames = copies
61+[difftool]
62+ prompt = false
63+[difftool "wrapper"]
64+ binary = true
65+ cmd = git-difftool-wrapper \"$LOCAL\" \"$REMOTE\"
66+[diff "pdfconv"]
67+ textconv = pdftohtml -stdout
68+[fetch]
69+ negotiationAlgorithm = skipping
70+ parallel = 0
71+[help]
72+ autocorrect = 1
73+[index]
74+ version = 4
75+[interactive]
76+ diffFilter = delta --color-only
77+[merge]
78+ log = true
79+[protocol]
80+ version = 2
81+[pull]
82+ rebase = true
83+[push]
84+ default = current
85+ recurseSubmodules = on-demand
86+[rebase]
87+ autoStash = true
88+[rerere]
89+ autoUpdate = true
90+ enabled = true
91+[sequence]
92+ editor = interactive-rebase-tool
93+[submodule]
94+ fetchJobs = 0
95+[tag]
96+ gpgSign = true
97+ sort = -version:refname
98+[url "git@gist.github.com:"]
99+ insteadOf = gist:
100+ pushInsteadOf = https://gist.github.com/
101+[url "git@github.com:"]
102+ insteadOf = gh:
103+ pushInsteadOf = https://github.com/
104+[user]
105+ email = f.nord@example.com
106+ name = Frank Nord
107+ signingkey = AAAAAAAAAAAAAAAA
tests/syntax-tests/source/Git Config/LICENSE.mdnew file+1
@@ -0,0 +1 @@
1+The `test.gitconfig` file has been added from https://github.com/sharkdp/bat/pull/1336#issuecomment-715905807. Its "free to use".
tests/syntax-tests/source/Git Config/text.gitconfignew file+107
@@ -0,0 +1,107 @@
1+[alias]
2+ br = branch
3+ branch = branch -a
4+ c = clone --recursive
5+ ci = commit
6+ cl = clone
7+ co = checkout
8+ contributors = shortlog --summary --numbered
9+ lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
10+ remote = remote -v
11+ st = status
12+ tag = tag -l
13+[apply]
14+ whitespace = fix
15+[color]
16+ ui = true
17+[color "branch"]
18+ current = yellow
19+ local = yellow
20+ remote = green
21+[color "diff"]
22+ commit = yellow bold
23+ frag = magenta bold
24+ meta = yellow
25+ new = green bold
26+ old = red bold
27+ whitespace = red reverse
28+[color "diff-highlight"]
29+ newHighlight = green bold 22
30+ newNormal = green bold
31+ oldHighlight = red bold 52
32+ oldNormal = red bold
33+[color "status"]
34+ added = green
35+ changed = yellow
36+ untracked = cyan
37+[commit]
38+ gpgsign = true
39+[core]
40+ editor = /usr/bin/vim
41+ # global exclude
42+ excludesfile = /home/frank/.config/git/ignore
43+ pager = delta
44+ ; broken on old machines
45+ untrackedCache = true
46+[credential]
47+ helper = store
48+[delta]
49+ features = line-numbers decorations
50+ max-line-length = 1024
51+ whitespace-error-style = 22 reverse
52+[delta "decorations"]
53+ commit-decoration-style = bold yellow box ul
54+ file-decoration-style = none
55+ file-style = bold yellow
56+ syntax-theme = gruvbox
57+[diff]
58+ submodule = diff
59+ algorithm = histogram
60+ renames = copies
61+[difftool]
62+ prompt = false
63+[difftool "wrapper"]
64+ binary = true
65+ cmd = git-difftool-wrapper \"$LOCAL\" \"$REMOTE\"
66+[diff "pdfconv"]
67+ textconv = pdftohtml -stdout
68+[fetch]
69+ negotiationAlgorithm = skipping
70+ parallel = 0
71+[help]
72+ autocorrect = 1
73+[index]
74+ version = 4
75+[interactive]
76+ diffFilter = delta --color-only
77+[merge]
78+ log = true
79+[protocol]
80+ version = 2
81+[pull]
82+ rebase = true
83+[push]
84+ default = current
85+ recurseSubmodules = on-demand
86+[rebase]
87+ autoStash = true
88+[rerere]
89+ autoUpdate = true
90+ enabled = true
91+[sequence]
92+ editor = interactive-rebase-tool
93+[submodule]
94+ fetchJobs = 0
95+[tag]
96+ gpgSign = true
97+ sort = -version:refname
98+[url "git@gist.github.com:"]
99+ insteadOf = gist:
100+ pushInsteadOf = https://gist.github.com/
101+[url "git@github.com:"]
102+ insteadOf = gh:
103+ pushInsteadOf = https://github.com/
104+[user]
105+ email = f.nord@example.com
106+ name = Frank Nord
107+ signingkey = AAAAAAAAAAAAAAAA