File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 9
9
- jruby-head
10
10
- ree
11
11
- ruby-head
12
- matrix :
13
- - rvm : jruby-18mode
14
- env :
15
- - JRUBY_OPTS="-Xcext.enable=true"
16
- - rvm : jruby-19mode
17
- env :
18
- - JRUBY_OPTS="-Xcext.enable=true"
19
- - rvm : jruby-head
20
- env :
21
- - JRUBY_OPTS="-Xcext.enable=true"
12
+ env :
13
+ - JRUBY_OPTS="-Xcext.enable=true"
Original file line number Diff line number Diff line change @@ -64,6 +64,15 @@ def test_git_clone_bare
64
64
assert_nil ( g . dir )
65
65
end
66
66
end
67
+
68
+ def test_git_clone_config
69
+ in_temp_dir do |path |
70
+ g = Git . clone ( @wbare , 'config.git' , :config => "receive.denyCurrentBranch=ignore" )
71
+ assert_equal ( 'ignore' , g . config [ 'receive.denycurrentbranch' ] )
72
+ assert ( File . exists? ( File . join ( g . repo . path , 'config' ) ) )
73
+ assert ( g . dir )
74
+ end
75
+ end
67
76
68
77
# trying to open a git project using a bare repo - rather than using Git.repo
69
78
def test_git_open_error
You can’t perform that action at this time.
0 commit comments