summaryrefslogtreecommitdiff
path: root/test/fixtures/git_config
blob: b8c178e3fea42c63a77f9330f2b816d81b60c9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[core]
	repositoryformatversion = 0
	filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git://gitorious.org/~byron/git-python/byrons-clone.git
	pushurl = git@gitorious.org:~byron/git-python/byrons-clone.git
# a tab indented section header
	[branch "master"]
	remote = origin
	merge = refs/heads/master
# an space indented section header
  [remote "mainline"]
    # space indented comment
	url = git://gitorious.org/git-python/mainline.git
	fetch = +refs/heads/*:refs/remotes/mainline/*

[remote "MartinMarcher"]
	# tab indented comment
	url = git://gitorious.org/~martin.marcher/git-python/serverhorror.git
	fetch = +refs/heads/*:refs/remotes/MartinMarcher/*
    # can handle comments - the section name is supposed to be stripped
# causes stock git-config puke
[  gui ]
	geometry = 1316x820+219+243 207 192
[branch "mainline_performance"]
	remote = mainline
	merge = refs/heads/master
# section with value defined before include to be overriden
[sec]
    var0 = value0_main
[include]
    path = doesntexist.cfg
    # field should be 'path' so abspath should be ignored
    abspath = /usr/bin/foodoesntexist.bar
    path = /usr/bin/foodoesntexist.bar
    # should be relative to the path of this config file
    path = ./git_config-inc.cfg
# and defined after include.  According to the documentation
# and behavior of git config, this should be the value since
# inclusions should be processed immediately
[sec]
    var1 = value1_main