Code

git-commit-tree: make it usable from other builtins
authorMiklos Vajna <vmiklos@frugalware.org>
Tue, 1 Jul 2008 02:37:49 +0000 (04:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2008 02:23:00 +0000 (19:23 -0700)
commit7b9c0a69a5f64fffb5de8b49a96f41ac35b4a84f
tree8437d36713060c95c714ce8cce49d0e84ee2fa3f
parentc1fb35b98aa36ce789c60520028d95e5f9fee43c
git-commit-tree: make it usable from other builtins

Move all functionality (except option parsing) from cmd_commit_tree() to
commit_tree(), so that other builtins can use it without a child
process.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit-tree.c
builtin.h