Skip to content

Commit bbb2937

Browse files
author
Vicent Marti
committed
Merge pull request #582 from ethomson/release_024
Release 0.24.0
2 parents a472961 + c2a5341 commit bbb2937

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

lib/rugged/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Rugged
2-
Version = VERSION = '0.24.0b14'
2+
Version = VERSION = '0.24.0'
33
end

test/tree_test.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,13 @@ def test_treebuilder_add_nonexistent_fails
157157
end
158158
end
159159

160+
def test_treebuilder_add_submodules_always_succeeds
161+
builder = Rugged::Tree::Builder.new(@repo, @repo.head.target.tree)
162+
builder << { :type => :commit, :name => "submodule", :oid => "0000000000000000000000000000000000000000", :filemode => 0160000 }
163+
newtree = builder.write
164+
assert_equal "ce986db11f99880a0a087ba3220dba61e9afd918", newtree
165+
end
166+
160167
def test_treebuilder_add_nonexistent_can_pass
161168
begin
162169
Rugged::Settings['strict_object_creation'] = false

0 commit comments

Comments
 (0)