Skip to content

Commit

Permalink
Add Git Config syntax test file
Browse files Browse the repository at this point in the history
  • Loading branch information
senden9 committed Oct 24, 2020
1 parent b07f3b4 commit af56eca
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tests/syntax-tests/highlighted/Git Config/text.gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
; Semicolon comment
# Hash comment

[user]
 name = Firstname Lastname
 email = non-exist@example.com
 signingkey = CEAF1234ABCD9876

[filter "lfs"] ; So here we have some LFS settings
 clean = git-lfs clean -- %f
 smudge = git-lfs smudge -- %f
 process = git-lfs filter-process
 required = true

[core]
 gitProxy=my-proxy-thing for github.com
 gitProxy=none # No proxy per default

[tar]
 #umask = 0002 ; default value
 umask = user ; If you want to use the default for the current user

[maintenance "commit-graph"]
 auto = 85
24 changes: 24 additions & 0 deletions tests/syntax-tests/source/Git Config/text.gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
; Semicolon comment
# Hash comment

[user]
name = Firstname Lastname
email = non-exist@example.com
signingkey = CEAF1234ABCD9876

[filter "lfs"] ; So here we have some LFS settings
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true

[core]
gitProxy=my-proxy-thing for github.com
gitProxy=none # No proxy per default

[tar]
#umask = 0002 ; default value
umask = user ; If you want to use the default for the current user

[maintenance "commit-graph"]
auto = 85

0 comments on commit af56eca

Please sign in to comment.