]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/mktree.c
mktree --missing: allow missing objects
authorJunio C Hamano <gitster@pobox.com>
Sun, 10 May 2009 18:30:03 +0000 (11:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2009 00:31:01 +0000 (17:31 -0700)
commit1c64e79a622b43cff2d919632393c51f3fcc4f43
treec41997708c590da61789b3ed377933b96a6f4520
parent801cfae8fd683761ae268cab8cec08e4b0f5a35b
mktree --missing: allow missing objects

We need to allow input lines that point at objects that we do not
have when dealing with submodule entries anyway.  This adds an explicit
option to allow missing objects of other types, to be consistent with
the use of --info-only option to the update-index command and --missing-ok
option to the write-tree command.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mktree.c
t/t1010-mktree.sh