File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 3
3
class TestCommit < Rugged ::TestCase
4
4
def setup
5
5
@repo = FixtureRepo . from_rugged ( "testrepo.git" )
6
+ @repo . config [ 'core.abbrev' ] = 7
6
7
end
7
8
8
9
def test_lookup_raises_error_if_object_type_does_not_match
@@ -179,6 +180,7 @@ class CommitWriteTest < Rugged::TestCase
179
180
def setup
180
181
@source_repo = FixtureRepo . from_rugged ( "testrepo.git" )
181
182
@repo = FixtureRepo . clone ( @source_repo )
183
+ @repo . config [ 'core.abbrev' ] = 7
182
184
end
183
185
184
186
def test_write_commit_with_time
@@ -266,6 +268,7 @@ def test_write_empty_email_fails
266
268
class CommitToMboxTest < Rugged ::TestCase
267
269
def setup
268
270
@repo = FixtureRepo . from_libgit2 "diff_format_email"
271
+ @repo . config [ 'core.abbrev' ] = 7
269
272
end
270
273
271
274
def test_format_to_mbox
Original file line number Diff line number Diff line change 3
3
class PatchTest < Rugged ::TestCase
4
4
def test_to_s
5
5
repo = FixtureRepo . from_libgit2 ( "diff" )
6
+ repo . config [ 'core.abbrev' ] = 7
6
7
7
8
a = repo . lookup ( "d70d245ed97ed2aa596dd1af6536e4bfdb047b69" )
8
9
b = repo . lookup ( "7a9e0b02e63179929fed24f0a3e0f19168114d10" )
You can’t perform that action at this time.
0 commit comments