Method: Git::Lib#commit_tree
- Defined in:
- lib/git/lib.rb
#commit_tree(tree, opts = {})
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1584 1585 1586 1587 1588 1589 1590 |
# File 'lib/git/lib.rb', line 1584 def commit_tree(tree, opts = {}) opts[:message] ||= "commit tree #{tree}" ArgsBuilder.validate!(opts, COMMIT_TREE_OPTION_MAP) flags = build_args(opts, COMMIT_TREE_OPTION_MAP) command('commit-tree', tree, *flags) end |