git-mktree: reverse of git-ls-tree.
authorJunio C Hamano <junkio@cox.net>
Tue, 21 Feb 2006 05:50:01 +0000 (21:50 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 21 Feb 2006 08:50:05 +0000 (00:50 -0800)
commit83f50539a9b1f18ccf0a4e1b84169eb4a24b3ea4
tree4b54da23a2d96c75bf272ab66e015ea756af684c
parent8cf828b43c3c1ee6d85622d155a1b0639842f66a
git-mktree: reverse of git-ls-tree.

This reads data in the format a (non recursive) ls-tree outputs
and writes a tree object to the object database.  The created
tree object name is output to the standard output.

For convenience, the input data does not need to be sorted; the
command sorts the input lines internally.

By request from Tommi Virtanen.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
mktree.c [new file with mode: 0644]